Repository navigation
v1.0.0b58
Pre-release
Pre-release
Fixed
-
Register
SanitizeRowsModifieras anIQueryModifierutility so
that malformed Collection-query rows (missing or non-stringi
field) are dropped beforeplone.app.querystring.parseFormquery
processes them. Upstreamqueryparser.py:73otherwise sets
query[None] = ...and the subsequentcatalog(**parsedquery)
inquerybuilder._makequeryfails at the Python level with
TypeError: keywords must be strings— which the Collection edit
widget cannot recover from. With the sanitizer in place the
preview renders again, so editors can open their Collections and
repair corruptedSubject/ tag data through the UI.This is a defensive workaround for an upstream gotcha, not a fix for
the underlyingplone.app.querystringbehavior. Closes #142.