Commit graph

16 commits

Author SHA1 Message Date
Colin Kuskie
00de81868b Two bugs in rollback.
The check for rolling back the pbversion0000000000001 tag wouldn't log any
errors because it was after the return 0 statement.

If a set of assets that were programmatically generated were rolled
back, and the assets had a parent child relationship then there's
a race condition that could cause the parent to be purged before
child.  Since purging the parent _also_ purges the child, the system
would try to purge the child twice and this causes a fatal error.
Programmatically generating the assets causes their revisionDates
to be the same, and that causes the return order of the assets to
be uncertain.

The solution is to generate the list of assets to be rolled back
by revisionDate _AND_ lineage.  This guarantees that children are
purged first.

This bug was exposed in t/Macro/RootTitle.t  However, the bug
seems to be system dependent since the revisionDate depends on how
fast the system can create assets.
2006-07-28 23:40:06 +00:00
JT Smith
03b4b0ed33 - fix: Head Block in styles
- fix: select assetVersionTag
 - fix: Infinite recursion
 - fix: assetUiLevel override broken
 - fix: Indexing files failes (derck)
 - fix: Unable to approve New listings on Matrix
2006-07-25 17:15:57 +00:00
JT Smith
19e4da7a92 collaboration system posts now work fully with the workflow engine, including the approval denial process 2006-03-30 23:43:32 +00:00
JT Smith
299dd5aa09 converted cs to use workflow engine for moderation 2006-03-30 03:52:18 +00:00
JT Smith
611323e8a8 more bug fixes 2006-03-24 17:31:57 +00:00
JT Smith
985417afd3 a bunch of bug fixes and tweaks related to workflow/versioning 2006-03-23 16:56:08 +00:00
JT Smith
eef3a0b654 getting closer to having approvals work 2006-03-23 00:01:35 +00:00
JT Smith
ccf1b3633f workflows now run, but with errors, must fix that next 2006-03-18 17:40:49 +00:00
JT Smith
11cc18a5c3 mostly working workflow 2006-03-17 23:13:27 +00:00
Colin Kuskie
528d0deaa5 bad stow methods fixed 2006-03-17 19:06:12 +00:00
JT Smith
ac1a9c7eae added status return codes to activities, and fixed a problem with workflow parameters 2006-03-16 22:01:39 +00:00
JT Smith
feda6700e0 added commit comments 2006-03-16 18:51:49 +00:00
JT Smith
cba26ecc0c converting versioning to use workflow 2006-03-14 17:46:32 +00:00
JT Smith
dfd2c8f0fa - Refactored admin bar to be more dynamic.
- Added version tags menu to admin bar.
2006-03-02 20:39:04 +00:00
JT Smith
103969816e removed start/end dates from assets in favor of workflows that can do the same thing only better 2006-03-01 18:02:36 +00:00
JT Smith
eea0cc0569 miscellaneous stuff i've forgotten to check in 2006-02-26 19:02:10 +00:00