Bug 1012187

Summary: RFE - automatically add Topic Title based on <title> tag
Product: [Community] PressGang CCMS Reporter: Ruediger Landmann <rlandman>
Component: CCMS-CoreAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 1.1CC: cbredesen, lnewson, mcaspers
Target Milestone: ---   
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 23:49:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 979871, 1013825    

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