collective / collective.taxonomy

Create, edit and use hierarchical taxonomies in Plone!
https://pypi.org/project/collective.taxonomy/
19 stars 24 forks source link

check for the field presence in `TaxonomyIndexerWrapper` more consistent #144

Closed mamico closed 1 year ago

mamico commented 1 year ago

with the current implementation:

https://github.com/collective/collective.taxonomy/compare/mamico_indexwrapper_01?expand=1#diff-8e799d4bd64d5fc2987102444d8302ed42d3bb6fbe570466e5a28926359be2a2L26

I had a problem when, for compatibility reasons, I implemented a property to manage a field in the taxonomy.

Here I propose a different control for the presence of the field that might be more efficient than the current one and that solves my problem.