You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a Plone bug I just discovered (and reproduced even on classic.demo.plone.org)
Long story short: we cannot have a catalog metadata column named like any dexterity blob field.
isaw.policy adds up a portal_catalog column metadata called image; this name matches some named blob imaged fields no matter the portal_type (Image, exibitions... )
This breaks folder_contents view if it contains items implementing a populated blob field named image. More precisely it'll break the items json representation in the @@getVocabulary call:
This is the python repr: the image field contains an object no json serializable
Brute solution to me, is to remove metadata "image" from the catalog. It seems that it's never used/accessed in the code, It only appears as old ATCT Topic columns configuration and so, there might be some Topic/Collection around configured to show the "image" field in topic tabular view.
Removing that column seems like a very good idea. Alternatively we could register an indexed for it that behaved in whatever way the code intended that column to behave (which probably wasn’t storing the blob (or a reference to it) in the catalog.
There is a Plone bug I just discovered (and reproduced even on classic.demo.plone.org)
Long story short: we cannot have a catalog metadata column named like any dexterity blob field.
isaw.policy
adds up a portal_catalog column metadata calledimage
; this name matches some named blob imaged fields no matter the portal_type (Image, exibitions... )This breaks folder_contents view if it contains items implementing a populated blob field named
image
. More precisely it'll break the items json representation in the @@getVocabulary call:This is the python repr: the image field contains an object no json serializable
Brute solution to me, is to remove metadata "image" from the catalog. It seems that it's never used/accessed in the code, It only appears as old ATCT Topic columns configuration and so, there might be some Topic/Collection around configured to show the "image" field in topic tabular view.
@alecpm What do you think?
The text was updated successfully, but these errors were encountered: