[Zope-CMF] Is it just me? Folder metadata edit doesn't seem to work.

Ignacio Valdes ivaldes@hal-pc.org
Mon, 23 Apr 2001 21:30:17 -0500


Hello again,

Is it just me? None of my CMF sites, including a new one without any mods gives this
error when I try to edit Folder metadata for a particular folder:

-- IV

              Zope Error

              Zope has encountered an error while publishing this resource.

              TypeError

              Sorry, a Zope error occurred.

              Traceback (innermost last):
                File /usr/local/zope/2-3-1/lib/python/ZPublisher/Publish.py, line
223, in publish_module
                File /usr/local/zope/2-3-1/lib/python/ZPublisher/Publish.py, line
187, in publish
                File /usr/local/zope/2-3-1/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
                  (Object: Traversable)
                File /usr/local/zope/2-3-1/lib/python/ZPublisher/Publish.py, line
171, in publish
                File /usr/local/zope/2-3-1/lib/python/ZPublisher/mapply.py, line
160, in mapply
                  (Object: folder_edit)
                File /usr/local/zope/2-3-1/lib/python/ZPublisher/Publish.py, line
112, in call_object
                  (Object: folder_edit)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/FSDTMLMethod.py, line 218, in
__call__
                  (Object: folder_edit)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
                  (Object: folder_edit)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_Let.py,
line 147, in render
                  (Object: portal_status_message="'Folder changed.'")
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_Return.py,
line 104, in render
                  (Object: folder_contents)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in
__call__
                  (Object: folder_contents)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
                  (Object: folder_contents)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in
__call__
                  (Object: standard_html_header)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
                  (Object: standard_html_header)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/FSDTMLMethod.py, line 213, in
__call__
                  (Object: actions_box)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_String.py,
line 538, in __call__
                  (Object: actions_box)
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_Let.py,
line 146, in render
                  (Object: isAnon="portal_membership.isAnonymousUser()"
                        AuthClass="isAnon and 'GuestActions' or 'MemberActions'"
                        uname="isAnon and 'Guest'
                               or
portal_membership.getAuthenticatedMember().getUserName()"
                        obj="this()"
                        actions="portal_actions.listFilteredActionsFor(obj)"
                        user_actions="actions['user']"
                        folder_actions="actions['folder']"
                        object_actions="actions['object'] + actions['workflow']"
                        global_actions="actions['global']")
                File /usr/local/zope/2-3-1/lib/python/DocumentTemplate/DT_Util.py,
line 334, in eval
                  (Object: portal_actions.listFilteredActionsFor(obj))
                  (Info: portal_actions)
                File <string>, line 0, in ?
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/ActionsTool.py, line 162, in
listFilteredActionsFor
                  (Object: portal_actions)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/WorkflowTool.py, line 222, in
listActions
                  (Object: portal_workflow)
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/DefaultWorkflow.py, line 209, in
listGlobalActions
                File
/usr/local/zope/2-3-1/lib/python/Products/CMFCore/CatalogTool.py, line 200, in
searchResults
                  (Object: Traversable)
                File /usr/local/zope/2-3-1/lib/python/Products/ZCatalog/ZCatalog.py,
line 535, in searchResults
                  (Object: Traversable)
                File /usr/local/zope/2-3-1/lib/python/Products/ZCatalog/Catalog.py,
line 651, in searchResults
                File /usr/local/zope/2-3-1/lib/python/Products/ZCatalog/Catalog.py,
line 542, in _indexedSearch
                File /usr/local/zope/2-3-1/lib/python/SearchIndex/UnTextIndex.py,
line 513, in _apply_index
                File /usr/local/zope/2-3-1/lib/python/SearchIndex/UnTextIndex.py,
line 576, in query
                File /usr/local/zope/2-3-1/lib/python/SearchIndex/UnTextIndex.py,
line 616, in evaluate
                File /usr/local/zope/2-3-1/lib/python/SearchIndex/UnTextIndex.py,
line 448, in __getitem__
              TypeError: expected integer key