New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SearchableText indexer is broken #1844
Comments
@agitator and that's related to the SearchableText? |
nice catch :/ |
@agitator - this transform transforms to text/plain , not safe html. also, can you provide the data, which fails transforming? |
output.mimetype sets the target transform to safe-html Was there a change in the field definition? |
Do we even have to check for the textvalue.outputMimeType? |
it does: But I think there is probably no converter for Pass in the |
@thet, this might explain why we have problems with indexing at AAF. |
fixed with plone/plone.app.contenttypes#380 |
+1. doesn't make too much sense to first transform to outputmimetype (which is cached by plone.app.textfield) and then transform to text/plain. |
coredev 5.1
https://github.com/plone/plone.app.contenttypes/blob/master/plone/app/contenttypes/indexers.py#L46
as it looks, the transform to safe-html fails somehow and returns None, which makes it kind of hard to getData() from after... transform to text/plain works
no idea what introduced that bug
would a transform to just text be (safe) enough too?
The text was updated successfully, but these errors were encountered: