collective / collective.nitf

A Dexterity-based content type inspired on the News Industry Text Format specification
8 stars 3 forks source link

Cannot create a Plone Site if collective.nitf is in the eggs #233

Closed idgserpro closed 4 years ago

idgserpro commented 4 years ago

When clicking on Add Plone Site in Plone 4.3.19, we received the error:

2020-08-25 12:26:35 ERROR Zope.SiteErrorLog 1598369195.260.421212033784 http://localhost:8080/@@plone-addsite
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module Products.CMFPlone.browser.admin, line 227, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module zope.pagetemplate.pagetemplate, line 240, in __call__
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 343, in interpret
  Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: /home/user/.buildout/eggs/cp27mu/Products.CMFPlone-4.3.19-py2.7.egg/Products/CMFPlone/browser/templates/plone-addsite.pt
   - Line 32, Column 2
   - Expression: <PathExpr standard:u'view/profiles'>
   - Names:
      {'args': (),
       'container': <Application at >,
       'context': <Application at >,
       'default': <object object at 0x7f3e77b8c7d0>,
       'here': <Application at >,
       'loop': {},
       'nothing': None,
       'options': {},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7f3e6a159230>,
       'request': <HTTPRequest, URL=http://localhost:8080/@@plone-addsite>,
       'root': <Application at >,
       'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7f3e69765890>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>,
       'view': <Products.Five.metaclass.SimpleViewClass from /home/user/.buildout/eggs/cp27mu/Products.CMFPlone-4.3.19-py2.7.egg/Products/CMFPlone/browser/templates/plone-addsite.pt object at 0x7f3e672d0890>,
       'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f3e672d0f10>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 155, in _eval
  Module Products.PageTemplates.Expressions, line 117, in render
  Module Products.CMFPlone.browser.admin, line 148, in profiles
TypeError: getNonInstallableProfiles() takes exactly 1 argument (0 given)
hvelarde commented 4 years ago

that seems to be a regression in Plone.