Bug 795604 - Replace "SpecRevision" attribute with "Checksum"
Summary: Replace "SpecRevision" attribute with "Checksum"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-21 02:25 UTC by Joshua Wulf
Modified: 2014-10-19 23:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 02:25:36 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2012-02-21 02:25:18 UTC
I've changed the way the CSP checks to make sure when you push an edited spec, you are pushing against the latest copy. As such I've removed the "SpecRevision" attribute and added a "CHECKSUM" attribute. The "CHECKSUM" attribute is just an MD5 hash string.

Note: The processor will still process the SpecRevision attribute so there's no need to change any of your stored Content Specs, however from now on it will create the Post Content Specs with the CHECKSUM attribute instead.
eg.

Previously:

ID=6190
SpecRevision=32910
Title=Test Spec
...

Now:

CHECKSUM=3400aee9ab8d08b2a4a5363037097587
ID=6190
Title=Test Spec
...

I've also updated the client (0.17.0) to have a command to get the checksum for content specs. The syntax is "csprocessor checksum -c <ID>".

Comment 1 Joshua Wulf 2012-02-21 02:25:59 UTC
That was Lee ^^^


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