Ticket #4700 (closed Bug: fixed)

Opened 3 years ago

Ploneboard 0.1beta1 cannot add forum

Reported by: hillsy Assigned to:
Priority: minor Milestone: Past
Component: Third party CMF product Keywords:
Cc:

Description

Per instructions @ http://plone.org/products/ploneboard Ploneboard is being installed on Zope 2.7.7 with Five already installed (we need to run 2.7.7 for backwards compatibility with Plone 2.0.5 as there are problems with running 2.8.1 and 2.7.7 concurrently). This is a clean install of Zope 2.7.7 and Plone 2.1.

Ploneboard installs correctly and it is possible to add a board (Add to Folder --> Message Board)

However when I try to add a forum within the newly created board it fails with the following error details:

Error Type TypeError Error Value sequence item 0: expected string, tuple found

More specifically....

Traceback Traceback (innermost last):

Module ZPublisher.Publish, line 101, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 39, in call_object Module Products.CMFFormController.FSControllerPythonScript, line 105, in call Module Products.CMFFormController.Script, line 141, in call Module Products.CMFCore.FSPythonScript, line 108, in call Module Shared.DC.Scripts.Bindings, line 306, in call Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 163, in _exec Module None, line 16, in createObject

  • <FSControllerPythonScript at /test/createObject used for /test/blah>
  • Line 16

Module Products.CMFCore.PortalFolder, line 408, in invokeFactory Module Products.CMFCore.TypesTool, line 930, in constructContent Module Products.CMFCore.TypesTool, line 340, in constructInstance Module Products.CMFCore.TypesTool, line 571, in _constructInstance Module Products.Ploneboard.content.PloneboardForum, line 4, in addPloneboardForum Module Products.BTreeFolder2.BTreeFolder2, line 431, in _setObject Module Products.Ploneboard.content.PloneboardForum, line 309, in manage_afterAdd Module Products.Archetypes.BaseBTreeFolder, line 36, in manage_afterAdd Module Products.Archetypes.BaseFolder, line 104, in manage_afterAdd Module Products.CMFCore.CMFCatalogAware, line 185, in manage_afterAdd Module Products.Ploneboard.content.PloneboardForum, line 295, in indexObject Module Products.CMFCore.CatalogTool, line 325, in indexObject Module Products.CMFCore.CatalogTool, line 318, in catalog_object Module Products.ZCatalog.ZCatalog, line 528, in catalog_object Module Products.ZCatalog.Catalog, line 381, in catalogObject Module Products.ZCTextIndex.ZCTextIndex, line 174, in index_object

TypeError: sequence item 0: expected string, tuple found

Installed Products ATContentTypes 1.0.0-final installed ATReferenceBrowserWidget 1.1 installed Archetypes 1.3.4-final installed BTreeFolder2 BTreeFolder2-1.0.2 CMFActionIcons CMF-1.5.4 installed CMFCalendar CMF-1.5.4 installed CMFCore CMF-1.5.4 CMFDefault CMF-1.5.4 CMFDynamicViewFTI 1.0.1 CMFFormController 1.0.5 installed CMFPlone 2.1 CMFQuickInstallerTool 1.5.5 installed CMFSetup CMF-1.5.4 CMFTopic CMF-1.5.4 CMFUid CMF-1.5.4 DCWorkflow CMF-1.5.4 ExtendedPathIndex 2.1 ExternalEditor 0.9.1 ExternalMethod External Method-1-0-0 Five Five 1.0.2 GroupUserFolder 3.4 installed MIMETools MailHost MailHost-1-3-0 MimetypesRegistry 1.3.6-final01 installed OFSP OFSP-1-0-0 PageTemplates PageTemplates-1-4-0 PlacelessTranslationService 1.2.1 PloneErrorReporting 0.11 installed PloneLanguageTool 0.7 PloneTranslations 2.1 Ploneboard 0.1beta1 installed PluginIndexes PortalTransforms 1.3.7-final01 installed PythonScripts PythonScripts-2-0-0 ResourceRegistries 1.0.4 installed SecureMailHost 1.0.1 Sessions SiteAccess SiteAccess-2-0-0 SiteErrorLog StandardCacheManagers StandardCacheManagers-1-1-0 TemporaryFolder Transience ZCTextIndex ZCatalog ZCatalog-2-2-0 ZGadflyDA ZODBMountPoint ZReST 1.1 ZSQLMethods ZopeTutorial Zope Tutorial 1.2 generator 1.3.1-final01 kupu kupu 1.3 installed validation 1.3.3-final05

Change History

09/16/05 21:24:00 changed by Anonymous User

I experience the same problem under Mac OSX 10.3. I am using a fresh install of Plone 2.1, Zope 2.7.7, Five 1.0.2 and Zope X3-3.0.0. The problem occurs both with Firefox and Safari, for admin as well as normal users.

Hans

09/20/05 19:24:00 changed by tim2p

This is a bug in Zope's ZCTextIndex, not Ploneboard. See http://www.zope.org/Collectors/Zope/1815/ and http://mail.zope.org/pipermail/zope-dev/2005-September/025328.html. It appears that Ploneboard is only compatible with 2.8.1+ (as well as 2.7.8+, if it ever gets released).

I'll try to indicate this in the Ploneboard docs.

09/20/05 20:01:00 changed by limi

  • status changed from new to closed.
  • resolution set to fixed.

09/21/05 10:10:00 changed by Anonymous User

Applied the patched files from CVS manually to my 2.7.7 install and it works nicely.