Ticket #10978 (confirmed Bug)

Opened 6 years ago

Last modified 3 years ago

plone.app.blob does not get exported with the genericsetup contenthandler

Reported by: do3cc Owned by: witsch
Priority: minor Milestone: Future
Component: Upgrade/Migration Version: 4.1
Keywords: Cc:

Description (last modified by do3cc) (diff)

When exporting content, an entry in .objects is created but no representation of the file. Whats missing the ATBlob should declare that it implements Products.GenericSetup.interfaces.IDAVAware. But then the PrimaryFieldMarshaller complains that the return value of the image field is not an instance of the IBAseUnit.

Change History

comment:1 Changed 6 years ago by do3cc

  • Summary changed from plone.app.blob does not exported with the genericsetup contenthandler to plone.app.blob does not get exported with the genericsetup contenthandler

comment:2 Changed 6 years ago by kleist

Which version please?

comment:3 Changed 6 years ago by do3cc

Trunk.

I created a branch with a type of fix, but I remember witsch wanted to treat anything related to AT somehow special. I just committed a testcase to my branch too. Removing the IDAVAware from the implements part in plone.app.blob.content.ATBlob will trigger errors.

comment:4 Changed 4 years ago by kleist

Which Plone version please?

comment:5 Changed 4 years ago by do3cc

  • Priority changed from major to minor
  • Description modified (diff)
  • Milestone set to Future

Still trunk

comment:6 Changed 4 years ago by do3cc

  • Version set to 4.1

Still trunk, but I updated my branch for easier merging if witsch aggrees  https://github.com/plone/plone.app.blob/compare/do3cc_genericsetup

comment:7 Changed 4 years ago by kleist

  • Status changed from new to confirmed

comment:8 Changed 3 years ago by kleist

Did witsch agree?

Note: See TracTickets for help on using tickets.