List objects unhashable when cutting from custom template

classic Classic list List threaded Threaded
1 message Options
Dave Zoltok Dave Zoltok
Reply | Threaded
Open this post in threaded view
|

List objects unhashable when cutting from custom template

I've created a custom folder_contents page that displays a few extra
bits of information about my items.  When I try cutting from this
page, however, I get the following traceback:

2005-10-21T11:05:16 ERROR Zope.SiteErrorLog
http://localhost:8080/CMS/CMS/DMSArea.clients/folder_cut
Traceback (most recent call last):
  File "D:\Zope 2.8.1\lib\python\ZPublisher\Publish.py", line 113, in publish
    request, bind=1)
  File "D:\Zope 2.8.1\lib\python\ZPublisher\mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "D:\Zope 2.8.1\lib\python\ZPublisher\Publish.py", line 40, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "D:\ZopeInstance1\Products\CMFFormController\FSControllerPythonScript.py",
line 107, in __call__
    return self.getNext(result, self.REQUEST)
  File "D:\ZopeInstance1\Products\CMFFormController\ControllerBase.py",
line 243, in getNext
    return next_action.getAction()(controller_state)
  File "D:\ZopeInstance1\Products\CMFFormController\Actions\RedirectTo.py",
line 14, in __call__
    if len(urlparse(url)[1]) == 0:
  File "D:\Zope 2.8.1\bin\Lib\urlparse.py", line 49, in urlparse
    tuple = urlsplit(url, scheme, allow_fragments)
  File "D:\Zope 2.8.1\bin\Lib\urlparse.py", line 73, in urlsplit
    cached = _parse_cache.get(key, None)
TypeError: list objects are unhashable

When I try from the original folder_contents, the copying works fine.
What could be in my custom page that's causing this?

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users