Importing closed content fails

Bug #1174670 reported by Kit Blake on 2013-04-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sylvain Viollon

Bug Description

When versioned content is in a closed state and gets exported, the import fails with:

KeyError: '1'

Stacktrace (most recent call last):
  File "sprout/saxext/", line 50, in _warp
    getattr(self._parent, method_name)(*args, **kw)
  File "sprout/saxext/", line 280, in endElementNS
    handler.endElementNS(name, qname)
  File "home/infrae/infrae30-prod2/lib/", line 50, in endElementNS
  File "home/infrae/infrae30-prod2/lib/silva.core.xml-3.0-py2.7.egg/silva/core/xml/", line 154, in storeWorkflow
  File "home/infrae/infrae30-prod2/lib/silva.core.xml-3.0-py2.7.egg/silva/core/xml/", line 148, in getWorkflowVersion
    return self.parentHandler()._workflow[version_id]

Sylvain Viollon (thefunny) wrote :

The export of closed content is now fixed and tested so importing them works. Note: You can read this as the export of closed content failed, not the import, so you need to make a new export of your content in order to import it.

Changed in silva:
status: New → Fix Committed
Changed in silva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers