OpenContent icon indicating copy to clipboard operation
OpenContent copied to clipboard

Check if SortIndex is a number when saving Data

Open Timo-Breumelhof opened this issue 4 years ago • 0 comments

To prevent this issue:

https://opencontent.readme.io/docs/sorting#lucene-issues

It would be nice if OC would check the saved data for the SortIndex field and raise an error if it's not a number. An error and the reason in the logs would be fine. As discussed before we should try to prevent a tiny mistake in the schema file to mess up the (Open Content internal) lucene index.

Timo-Breumelhof avatar Jun 14 '21 07:06 Timo-Breumelhof