mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #20079
[Bug 1296698] Re: Text box title duplicated and only one instance updated
Hi Tony,
The way the text boxes work there is a parent (artefact) and children
(block instances).
If you look on the Content -> Notes page (artefact/internal/notes.php)
you get a better idea of what is happening - you can also change the
artefact title there :)
Ok so the system works like this - a text box is added to a page and the
artefact + block instance title are set as the same. (Editing the
textbox title gives the block instance a new title). If you add another
textbox to the page you can select 'Use content from another text box'
link in it's config and choose the original text box.
Now the parent artefact has two children.
You can make another page and add a textbox to it and select 'Use
content from another text box' link and choose the original text box
again and now we have one parent with three children on two different
pages.
So looking at the Content -> Notes page (artefact/internal/notes.php)
page you should see the artefact listed, ant its block instances (and
their names) and which pages they appear on.
This is slightly complicated and confusing but the way the system was
designed to allow for reusable text boxes.
So when you view the artefact by itself by clicking on the title of a
text box block instance you get to see the artefact and block instances
titles - which can often be the same and so is annoying - but not
actually a bug.
Cheers
Robert
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1296698
Title:
Text box title duplicated and only one instance updated
Status in Mahara ePortfolio:
New
Bug description:
When a new text box is created, its original title goes into the
database in two places: artefact.title and block_instance.title.
However if the title is then edited, only block_instance.title gets
updated; artefact.title retains the original title.
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.title is displayed). The page owner is unable to update
the original title via the Mahara interface as it doesn't appear at
all when editing the block.
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1296698/+subscriptions
References