[Zope-CMF] Workflow trouble

Walker, Byl BWalker@ProspectAssoc.com
Fri, 8 Feb 2002 10:39:14 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B0B6.C2D722A0
Content-Type: text/plain

Hi all -
 
I am trying to do a workflow and keep coming up with an error of:
Error Type: Undefined


Error Value: "getId" not found in "transition/getId"
 
Does anyone else run into these issues?
 
Byl
 
Here's the traceback:
 
Traceback (innermost last):
  File /usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope/2-4-3/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: project)
  File /usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope/2-4-3/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: invokeFactory)
  File /usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: invokeFactory)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFCore/PortalFolder.py,
line 368, in invokeFactory
    (Object: project)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFCore/TypesTool.py, line
745, in constructContent
    (Object: portal_types)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFCore/TypesTool.py, line
476, in constructInstance
    (Object: Document)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFDefault/Document.py,
line 134, in addDocument
  File /usr/local/zope/2-4-3/lib/python/OFS/ObjectManager.py, line 324, in
_setObject
    (Object: project)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFCore/PortalContent.py,
line 177, in manage_afterAdd
    (Object: oi)
  File /usr/local/zope/2-4-3/lib/python/Products/CMFCore/WorkflowTool.py,
line 585, in notifyCreated
    (Object: portal_workflow)
  File /usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py,
line 436, in notifyCreated
    (Object: yeah)
  File /usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py,
line 499, in _changeStateOf
    (Object: yeah)
  File /usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py,
line 588, in _executeTransition
    (Object: yeah)
  File /usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/Expression.py,
line 121, in __call__
Undefined: (see above)
 

------_=_NextPart_001_01C1B0B6.C2D722A0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">


<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C1B08C.81B0EB50">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	mso-style-noshow:yes;
	mso-ansi-font-size:10.0pt;
	mso-bidi-font-size:10.0pt;
	font-family:Arial;
	mso-ascii-font-family:Arial;
	mso-hansi-font-family:Arial;
	mso-bidi-font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */=20
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>

<div class=3DSection1><pre><font size=3D2 face=3D"Courier New"><span
style=3D'font-size:10.0pt'>Hi all =
-<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fo=
nt
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>I am =
trying to do a workflow and keep coming up with an error =
of:<o:p></o:p></span></font></pre><pre><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Error Type: =
Undefined</span></font></b></strong><br>
<strong><b><font face=3D"Courier New"><span =
style=3D'font-family:"Courier New"'>Error Value: &quot;getId&quot; not =
found in =
&quot;transition/getId&quot;<o:p></o:p></span></font></b></strong></pre>=
<pre><strong><b><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></b></strong></pre><pre><strong><b>=
<font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Does anyone else =
run into these =
issues?<o:p></o:p></span></font></b></strong></pre><pre><strong><b><font=

size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></b></strong></pre><pre><strong><b>=
<font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>Byl<o:p></o:p></span></font></b></strong></pre><pre><strong><b><fo=
nt
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></b></strong></pre><pre><strong><b>=
<font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;font-family:"Courier New"'>Here's the =
traceback:</span></font></b></strong><o:p></o:p></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fo=
nt
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Traceback (innermost =
last):<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 223, in =
publish_module<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 187, in =
publish<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Zope/__init__.py, line 226, in =
zpublisher_exception_hook<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
project)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 171, in =
publish<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/ZPublisher/mapply.py, line 160, in =
mapply<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
invokeFactory)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/ZPublisher/Publish.py, line 112, in =
call_object<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
invokeFactory)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFCore/PortalFolder.py, line =
368, in invokeFactory<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
project)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFCore/TypesTool.py, line =
745, in constructContent<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
portal_types)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFCore/TypesTool.py, line =
476, in constructInstance<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
Document)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFDefault/Document.py, line =
134, in addDocument<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/OFS/ObjectManager.py, line 324, in =
_setObject<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
project)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFCore/PortalContent.py, =
line 177, in manage_afterAdd<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
oi)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/CMFCore/WorkflowTool.py, line =
585, in notifyCreated<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
portal_workflow)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py, =
line 436, in notifyCreated<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
yeah)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py, =
line 499, in _changeStateOf<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
yeah)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/DCWorkflow.py, =
line 588, in =
_executeTransition<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp;&nbsp;&nbsp; </span>(Object: =
yeah)<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'><span =
style=3D'mso-spacerun:yes'>&nbsp; </span>File =
/usr/local/zope/2-4-3/lib/python/Products/DCWorkflow/Expression.py, =
line 121, in __call__<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Undefined: (see =
above)<o:p></o:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C1B0B6.C2D722A0--