Text box title duplicated and only one instance updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Expired
|
Undecided
|
Unassigned |
Bug Description
When a new text box is created, its original title goes into the database in two places: artefact.title and block_instance.
This becomes an issue when the text box is viewed on its own, when both titles are displayed (whereas in the page view only the updated block_instance.
I think there are really two issues here: firstly that the title is only updated in one place, but also that both titles are displayed when the text box is viewed on its own. If the title has never been edited, the same title is displayed twice, which is unnecessary.
This has been tested in Mahara 1.8.1 on Ubuntu 13.10 with a Postgres database.
I'd be quite happy to work on this issue if one of the core developers could just give me a bit of advice as to how best to proceed, e.g.
- Is there a legitimate reason for the data being stored in two places or was this an oversight?
- Does it need to be updated in both places too, or should it only be stored in one place to begin with?
Cheers,
Tony