Ticket #7879 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

KSS refers to plone_deprecated stuff

Reported by: petschki Owned by: ree
Priority: major Milestone: 3.1
Component: KSS (Ajax) Keywords:
Cc:

Description

When you remove the plone_deprecated folder from the skins me gets the following traceback:

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module archetypes.kss.fields, line 247, in saveField
  Module archetypes.kss.fields, line 200, in saveField
  Module zope.event, line 23, in notify
  Module zope.component.event, line 26, in dispatch
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module kss.core.kssview, line 127, in _eventRedispatcher
  Module zope.component._api, line 130, in subscribers
  Module zope.component.registry, line 290, in subscribers
  Module zope.interface.adapter, line 535, in subscribers
  Module plone.app.kss.globalui, line 16, in attributesTriggerPortalTabsReload
  Module plone.app.kss.plonekssview, line 31, in macroContent
  Module OFS.Traversable, line 301, in restrictedTraverse
  Module OFS.Traversable, line 269, in unrestrictedTraverse
   - __traceback_info__: ([], 'global_sections')
AttributeError: global_sections

this is after a fresh buildout with Plone 3.0.6 (just an hour ago), kss.core 1.2.4, plone.app.kss 1.2.5

after restoring the plone_deprecated skinfolder everything works fine.

Change History

comment:1 Changed 4 years ago by petschki

a bit more explanation:
this error appears, when you click "save" after inline editing title, description or whatever

comment:2 Changed 4 years ago by gotcha

  • Status changed from new to closed
  • Resolution set to fixed

(In [19937]) use refreshViewlet instead of macroContent

closes #7879

comment:3 Changed 4 years ago by gotcha

forward ported to 1.4 and to trunk as well

Note: See TracTickets for help on using tickets.