Bug 1012187 - RFE - automatically add Topic Title based on <title> tag
Summary: RFE - automatically add Topic Title based on <title> tag
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CCMS-Core
Version: 1.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 1.2
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
: 1012237 (view as bug list)
Depends On:
Blocks: 979871 1013825
TreeView+ depends on / blocked
 
Reported: 2013-09-25 23:47 UTC by Ruediger Landmann
Modified: 2014-08-04 22:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 23:49:30 UTC
Embargoed:


Attachments (Terms of Use)

Description Ruediger Landmann 2013-09-25 23:47:28 UTC
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):
Build 201309081012

How reproducible:
100%

Steps to Reproduce:
1. Create a new topic with a <title> child element
2. Click "Save"

Actual results:
PressGang disallows the save

Expected results:
PressGang takes advantage of the information already available to it

Additional info:
The error message doesn't tell the user where to go or how to fix the problem.

Comment 1 Lee Newson 2013-09-26 04:50:22 UTC
*** Bug 1012237 has been marked as a duplicate of this bug. ***

Comment 2 Matthew Casperson 2013-10-03 03:18:27 UTC
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.

Comment 4 Matthew Casperson 2013-10-08 03:17:18 UTC
Hours apply to 2013-10-02


Note You need to log in before you can comment on or make changes to this bug.