Bug 979871 - Uploaded topics don't take on section title
Summary: Uploaded topics don't take on section title
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.2
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
: 1012731 (view as bug list)
Depends On: 1012187
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-01 04:26 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-17 23:49:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthew Casperson 2013-07-01 04:26:14 UTC
Need to scan uploaded topics for valid XML, and if it is extract the section title as the new topics title.

Comment 1 Lee Newson 2013-09-27 03:33:44 UTC
*** Bug 1012731 has been marked as a duplicate of this bug. ***

Comment 2 Lee Newson 2013-09-27 03:37:52 UTC
Moving this back to new since it hasn't had any work done on it.

Comment 3 Lee Newson 2013-10-09 05:42:38 UTC
Fixed in build 201310091540

Updated the UI so it won't set the title any more. This means that thanks to BZ#1012187 the title will be picked out of the XML on the server.

Comment 5 Matthew Casperson 2013-10-15 05:51:36 UTC
Uploading a file with invalid XML has some issues.

Comment 6 Matthew Casperson 2013-10-16 03:00:19 UTC
The xml title setting is now handled on the client in much the same way as it is set on the server. If the file being uploaded is valid xml with a <section> and a <title> directly under it, the title is extracted and saved as the topic title.

Otherwise a generic title is added so the file can still be uploaded.


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