notum-cz / strapi-plugin-record-locking

This plugin provides the functionality to prevent data loss in cases where multiple users are simultaneously editing the same record within STRAPI v4.
20 stars 8 forks source link

issues with the plugin starting from version 4.15.5 of Strapi #89

Closed abisewski closed 5 months ago

abisewski commented 5 months ago

When I updated Strapi to version 4.15.5, this error started appearing in the console when creating/editing a collection:

main.cbea1cba.js:16167 TypeError: Cannot read properties of null (reading 'params')

This makes it impossible to edit or create any collections.

image

omikulcik commented 5 months ago

Hi @abisewski, this is caused by the newer versions of Strapi using collectionType instead of collection-type. I have just checked and the plugin works in the latest version. If you are using version that uses the old format of URL I suggest using older version of this plugin https://github.com/notum-cz/strapi-plugin-record-locking/releases/tag/v1.3.9