4teamwork / ftw.zipexport

Zip Export for Plone
2 stars 6 forks source link

Make export possible on multiple interfaces #23

Closed shylux closed 10 years ago

shylux commented 10 years ago

Currently there can be define one, and only one, interface on which the zip export is available.

Extend this so that a list of interfaces can be configured.

shylux commented 10 years ago

@maethu @deiferni please take a look please examine the upgrade-step carefully. it worked for me.

problem is: as soon as the code is updated, every view will fail with a key error:

KeyError: 'Interface `ftw.zipexport.interfaces.IZipExportSettings` defines a field `enabled_dotted_names`, for which there is no record.'

I don't know why this happens, since i specify the default value: https://github.com/4teamwork/ftw.zipexport/pull/23/files#diff-2d37a7569b25f77272213e3499d98d3dR8

The upgrade-step then fixes the errors.

deiferni commented 10 years ago

@shylux i'll have a look at the rest as soon as the try ... except statement for the browser-view is implemented, as discussed

shylux commented 10 years ago

@deiferni its a typo^3 :astonished: multiple interfaces

deiferni commented 10 years ago

:+1: