Skip to content

mxm, IT's mad science

Sections
Personal tools
You are here: Home » Products » Open Source » mxm Workgroups for Plone » Add Member error
Downloads
You can download mxm products here.

Due to it's technical and international nature, this section is in english.

Max M Has a blog too.

og er glad for mad

 

Comment

Above in this comment thread: mxm Workgroups for Plone

Add Member error

Posted by Anonymous User at 2004-03-05 11:14 PM
Adding a member, as admin, gives:

Error Type
RuntimeError
Error Message
FS Page Template WorkgroupMembers_Form has errors: Compilation failed.
<pre>TAL.TALDefs.TALError: Python expression error: invalid syntax (Python expression "test(search_submitted, mtool.searchForMembers( {request.get('search_param',''): request.get('search_term', '')}), None)", line 1) in expression "python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>

Fixed!

Posted by Anonymous User at 2004-03-05 11:35 PM
Notice the \n?:

"python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>

I customized the page and removed the characters (Windows newlines?) and the page works.

Time for more testing...