#6 — wrong target workflow state in "publish" transition

by Jesse Snyder last modified Jan 08, 2009 01:57 PM
State Unconfirmed
Version:
Area Functionality
Issue type Bug
Severity Medium
Submitted by Jesse Snyder
Submitted on Feb 20, 2008
Responsible
Target release:
The target workflow state for the "publish" action in the borg_project_content_workflow was incorrectly set as "private". The correct state should of course be "published".
Steps to reproduce:
I just fixed in the trunk, but a new release will be needed.
Added by Tres Seaver on Feb 22, 2008 08:06 PM
I can confirm the problem, and Jesse's fix. I would note that diagnosing
such issues is much easier using the graphviz visualization produced by
the DCWorkflowGraph product:

  http://www.zope.org/Members/panjunyong/DCWorkflowGraph

However, the current workflows used by borg.project break that product,
because they use state / transition IDs which are not valid Python IDs.
I would therefore recommend changing them to use underscores, rather
than hyphens.

No responses can be added.