Thu 16 May 2002 07:04:02 AM UTC, comment #1: [Additional information]
And what happens in Jamming import, if the xml document doesn't contain any jamming elements? The necessary Jamming objects must still be created. I'm not sure if this is done already or not, but it should be checked.
Here's a traceback of the failed export:
Traceback (innermost last):
File /usr/lib/zope/lib/python/Products/Hotfix_2002-04-15/__init__.py,
line 51, in publish_module
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 114, in
publish
File /usr/lib/zope/lib/python/Zope/__init__.py, line 158, in
zpublisher_exception_hook
(Object: FLEnv)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 98, in
publish
File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 88, in mapply
(Object: fle_export)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 39, in
call_object
(Object: fle_export)
File /usr/lib/zope/lib/python/Products/FLE/FLE.py, line 459, in
fle_export
(Object: FLEnv)
File /usr/lib/zope/lib/python/Products/FLE/ImportExport.py, line 158,
in exportData
File /usr/lib/zope/lib/python/Products/FLE/ImportExport.py, line 653,
in exportJamming
File /usr/lib/zope/lib/python/Products/FLE/TraversableWrapper.py, line
186, in get_child
(Object: 3)
File /usr/lib/zope/lib/python/Products/FLE/TraversableWrapper.py, line
180, in __get_child
(Object: 3)
File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 215, in
_getOb
(Object: 3)
AttributeError: (see above)
|
Thu 16 May 2002 07:00:22 AM UTC, original submission:
The current Jamming export fails, when executed on a previous version of Fle3 that does not have Jamming at all.
This needs to be fixed - ImportExport.py must be able to export from ANY previous version of Fle3 without errors! Apparently problem is in method exportJamming. And it contains some weird print statements as well, which probably shouldn't be there.
|