Assets with the same id as their containing folders problematic on export
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Undecided
|
Sylvain Viollon |
Bug Description
When doing a full media export of a Silva Folder containing an asset (tested with image) with the same id, Zope acquisition messes up, and an asset adapter is looked up for the folder, which fails.
traceback:
Exception Type TypeError
Exception Value ('Could not adapt', <Silva Folder instance ibm>, <InterfaceClass Products.
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 Products.
* Module Shared.
* Module Shared.
* Module Products.
* Module None, line 25, in download_
<
Line 25
* Module Products.
* Module Products.
TypeError: ('Could not adapt', <Silva Folder instance ibm>, <InterfaceClass Products.
Changed in silva: | |
assignee: | nobody → thisfred |
Changed in silva: | |
milestone: | 2.0 → none |
Changed in silva: | |
assignee: | thisfred → wim-boucquaert |
This have been fixed during the XML import/export cleanup.