Bug 1036895 - Creating a new topic does not reset the revision history
Summary: Creating a new topic does not reset the revision history
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.4
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 21:12 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-23 23:44:01 UTC


Attachments (Terms of Use)

Description Matthew Casperson 2013-12-02 21:12:53 UTC
Steps to Reproduce:
1. Open a topic in the UI
2. View the topic's revisions
3. Click "Create Topic"

Actual results:
The old revision history is visibale.


Expected results:
A blank revision history should be shown.

Comment 1 Lee Newson 2013-12-05 05:38:32 UTC
Fixed in 1.4-SNAPSHOT build 201312050913

The problem was that the topic revision list wasn't being refreshed when switching views, as it was for the other topic views. There was also a race condition where the topics revision history would be displayed for the new topic due to the ProviderUpdateData instance being the same instance between all topics. As such when the synchronous call returned if the topic had been switched it would display the old topics revision history for the new topic.

This was also an issue with the Content Spec revisions.

Note: This version is currently live on the test/development version.

Comment 2 Matthew Casperson 2014-01-27 23:28:22 UTC
Confirmed that the revision history is now reset for new topics and content specs.


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