workflow states cannot be renamed

Bug #625722 reported by Martin Aspeli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope CMF buildout
Fix Committed
Low
Unassigned
Nominated for 2.2 by Charlie_X
Nominated for 2.3 by Charlie_X

Bug Description

CMFCore 2.2.2 on Zope 2.12.10:

Attempting to rename a workflow state from the "States" tab of a workflow definition in the ZMI results in the following traceback:

2010-08-28 17:33:19 ERROR Zope.SiteErrorLog 1282984399.510.101792466655 http://localhost:8080/Plone/portal_workflow/optilux_sitecontent_workflow/states/manage_renameObjects
Traceback (innermost last):
  Module ZPublisher.Publish, line 127, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
  Module ZPublisher.Publish, line 47, in call_object
  Module Products.DCWorkflow.ContainerTab, line 117, in manage_renameObjects
  Module OFS.CopySupport, line 359, in manage_renameObject
  Module OFS.CopySupport, line 539, in _verifyObjectPaste
CopyError:
<HTML>
<HEAD>
<TITLE>Not Supported</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<FORM ACTION="manage_main" METHOD="GET" >
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="10">
<TR>
  <TD VALIGN="TOP">
  <BR>
  <CENTER><B><FONT SIZE="+6" COLOR="#77003B">!</FONT></B></CENTER>
  </TD>
  <TD VALIGN="TOP">
  <BR><BR>
  <CENTER>
  The object <em>private</em> does not support this operation.
  </CENTER>
  </TD>
</TR>
<TR>
  <TD VALIGN="TOP">
  </TD>
  <TD VALIGN="TOP">
  <CENTER>
  <INPUT TYPE="SUBMIT" VALUE=" Ok ">
  </CENTER>
  </TD>
</TR>
</TABLE>
</FORM>
</BODY></HTML>

Changed in zope-cmf:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Charlie_X (charlie) wrote :

I think the best thing to do is to remove the option to rename a workflow. Not least because any objects attached to a particular workflow will need updating anyway. It will be less confusing to delete and add rather than rename in this context.

Changed in zope-cmf:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.