Ticket #1888 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

The edit action should be managed by the workflow and not be defined in the portal type

Reported by: madarche Assigned to: janguenot
Priority: P2 Milestone: CPS 3.4.6
Component: CPSWorkflow Version: TRUNK
Severity: minor Keywords:
Cc:

Description

Using a workflow transition would give more control about when displaying the edit action or not. For example this would make it possible to display the edit action only for the workspace_content_wf and not for the section_content_wf.

Note that there is already a "modify" transition in the workspace_content_wf. So what should be done is only to add an URL for this transition and to remove all the "action_edit" actions in the concerned portal types.

Change History

02/01/08 14:39:50 changed by madarche

  • status changed from new to closed.
  • resolution set to fixed.

Fixed by changeset [52532].

02/01/08 14:49:06 changed by madarche

And cleaner code in the changeset [52533].

02/01/08 15:53:16 changed by madarche

And a last changeset [52535] for a forgotten commit.

02/05/08 17:52:44 changed by madarche

And another last changeset [52544] that adds a missing "modify" transition for the "draft" state.