← Back to team overview

mahara-contributors team mailing list archive

[Bug 1194255] Re: ' Use content from another text box' showing incorrect titles

 

Hi Robert,

I think the title behavior may actually be a feature. The Title is
unique to each Text Box that uses that Note. It's pre-filled with the
current title of the Note, but if you change the Title in that one Text
Box, it doesn't propagate to all the other Text Boxes using the same
Note. You can update the Note's title from the Content->Notes page, if
you click the "edit" button next to a particular Note.

Although... this is inconsistent from the way the body of the Note
works. If you change a Note's body within a Text Box, it updates the
body text in all the Text Boxes that use that note unless you use the
"Make a copy" link.

Let's discuss this tomorrow with Kristina. Maybe there's a use-case
reason for why titles are Block-specific while Note text is universal?

** Tags added: note textbox

-- 
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/1194255

Title:
  ' Use content from another text box' showing incorrect titles

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Tested with mahara 1.8.0a / mysql 5.5 / ubuntu / firefox 21

  Step to produce bug:

  1) Add a text box to a page give it a title eg 'Text box 1' and save
  block

  2) Edit the text box and rename the title to something else eg 'New
  text box A' and save block

  3) Make a new page and add a text box to it. Click the 'Use content
  from another text box' link in text box configure panel.

  It shows the list of other text boxes with their original names rather
  than their current names. This can be a pain if you save a bunch of
  text boxes with their default title of 'Text box' with the plan to
  update them later.

  
  -- it looks like it is using the 'title' field from the artefact table rather than the 'title' field from the block_instance table.

  Also if you add a new text box and save it then edit that text box and
  choose 'Use content from another text box' it shows the text box you
  are editing as an option to choose - which seems wrong to me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1194255/+subscriptions


References