Bug 1011259

Summary: Adding a tag to a content spec should update the last modified property
Product: [Community] PressGang CCMS Reporter: Matthew Casperson <mcaspers>
Component: REST-APIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: bmoss, cbredesen, lnewson
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:23 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:

Description Matthew Casperson 2013-09-23 23:49:42 UTC
The Obsolete tag can now be used to filter the list of specs in DocBuilder. However, simply adding the obsolete tag to a content spec does not update the last modified date, which in turn means that the DocBuilder will not download the details for the spec.

Since adding a tag creates a revision, it also makes sense that the last modified property would be updated too.

Comment 1 Lee Newson 2013-09-24 01:09:10 UTC
Fixed in 1.2-SNAPSHOT build 20130924-1102

This was caused by two things. The first was that it was using the wrong database field for the LastModified value. The second was the ContentSpecToTag and ContentSpecToPropertyTag wasn't setting the last changed field on the ContentSpec table.

Note: This version is currently live on the dev server.

Comment 2 Matthew Casperson 2013-10-15 04:03:02 UTC
Confirmed that adding a tag updates the last modified date, and that a search using the new last modified date returns the expected result.