Red Hat Bugzilla – Bug 1012187
RFE - automatically add Topic Title based on <title> tag
Last modified: 2014-08-04 18:27:42 EDT
Description of problem:
When you create a new topic, and try to save, PressGang disallows the save with an error that says:
"The Topic Title field is a mandatory field and cannot be empty."
Since most (all?) topics stored in the database have a formal element as their root node and have a <title> child element, PressGang could default to using the contents of that element without interrupting the user.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new topic with a <title> child element
2. Click "Save"
PressGang disallows the save
PressGang takes advantage of the information already available to it
The error message doesn't tell the user where to go or how to fix the problem.
*** Bug 1012237 has been marked as a duplicate of this bug. ***
Fixed in 201310031139
When a value is entered (for new topics) or changed (in existing topics) in the properties tab, that takes precidence over the <title> element in the XML.
If no title is specified or changed, the title will reflect the one in the XML if the XML is valid, is a section, and has a title element as the first child.
Hours apply to 2013-10-02