#83 — Cannot add forum: AttributeError: unrestrictedSearchResults

StateUnconfirmed
Version: 1.0
AreaMigration
Issue typeBug
SeverityLow
Submitted byJan Ulrich Hasecke
Submitted onOct 02, 2006
Responsible
Target release:
Return to tracker
Last modified on Feb 21, 2009 by Matthew Wilkes


I created a forum and tried to add a board and get this error.

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFPlone.FactoryTool, line 361, in __call__
  Module Products.CMFPlone.FactoryTool, line 147, in __getitem__
  Module Products.CMFPlone.PloneFolder, line 399, in invokeFactory
  Module Products.CMFCore.TypesTool, line 934, in constructContent
  Module Products.CMFCore.TypesTool, line 345, in constructInstance
  Module Products.CMFCore.TypesTool, line 357, in _finishConstruction
  Module Products.CMFCore.CMFCatalogAware, line 145, in notifyWorkflowCreated
  Module Products.CMFCore.WorkflowTool, line 354, in notifyCreated
  Module Products.CMFCore.WorkflowTool, line 699, in _reindexWorkflowVariables
  Module Products.Archetypes.CatalogMultiplex, line 56, in reindexObjectSecurity
AttributeError: unrestrictedSearchResults
Added by(anonymous)onOct 11, 2006 09:10 AM
I do get the same error after upgrading from Ploneboard 0.1 to Ploneboard 1.0 and Plone 2.1.2 to Plone 2.5.1. Furthermore, reinstalling with the Plone quick installer tool didn't work without deinstalling Ploneboard 0.1 first.

Marc Nieper-Wißkirchen <nieper@mathematik.uni-mainz.de>
Added by(anonymous)onOct 19, 2006 03:35 PM
1) The error does not appear on a fresh Plone site. It appears on a site that has been migrated from Plone 2.1.x and Ploneboard 0.1.

2) A simple fix is as follows: Go to the archetype_tool folder of your Plone Site in the ZMI. Go to the tab "Manage Catalogs". Select "portal_catalog" for all types that belong to Ploneboard.

Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>
Added byRobert AndersononNov 03, 2006 12:09 AM
I'm getting this error as well. I was using an older version of Ploneboard one 2.1.x and upgraded to 2.5.1. The fix in the last comment doesn't make sense to me and seems to have been cut off before it completed. Can somebody post the rest of the fix, if it actually works.
Added by(anonymous)onNov 03, 2006 01:00 AM
The error makes sense - it's a migration that's not being completed.

The previous reply's sugestion is right, and it is complete. You need to change the catalog mapping for PloneboardComment, PloneboardConversation, PloneboardForum etc in archetype_tool as described.
Added byMaciek DziergwaonJun 04, 2008 08:38 AM
I had the same problem with www.plone.org.pl when I migrated to Plone 3.1.1 and PloneBoard 2.0. Suggested solution with changing configuration in archetype_tool solved a problem.

Thanx
MaciekD

No responses can be added.