view folder_contents
broken if contains any item with image
field filled
#565
Labels
folder_contents
broken if contains any item with image
field filled
#565
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: