- Posts: 2152
Question compatibility check
- WGroleau
- Topic Author
- Offline
- Platinum Member
Less
More
1 year 7 months ago #1
by WGroleau
--
Wes Groleau
UniGen.us/
compatibility check was created by WGroleau
Regarding "incompatible with your current webtrees version. …. All functionality of the module is therefore disabled."
Obviously there is a way for a module to report its support level. Disabling it is appropriate when there is a mismatch. However, is it possible for a module to have a generic exception handler that disables itself and/or that the core can catch and disable the module?
When a module is disabled for presumed incompatibility, trying to re-enable it fails. This makes sense in the current situation.
However, it would be a nice enhancement if I could re-enable the module to test whether it still works, and have it disabled again only if it raises an exception it can't handle. (Or if it finds a reason to disable itself.)
Obviously there is a way for a module to report its support level. Disabling it is appropriate when there is a mismatch. However, is it possible for a module to have a generic exception handler that disables itself and/or that the core can catch and disable the module?
When a module is disabled for presumed incompatibility, trying to re-enable it fails. This makes sense in the current situation.
However, it would be a nice enhancement if I could re-enable the module to test whether it still works, and have it disabled again only if it raises an exception it can't handle. (Or if it finds a reason to disable itself.)
--
Wes Groleau
UniGen.us/
Please Log in or Create an account to join the conversation.
- bertkoor
- Away
- Platinum Member
- Greetings from Utrecht, Holland
1 year 7 months ago #2
by bertkoor
stamboom.BertKoor.nl runs on webtrees v1.7.13
Replied by bertkoor on topic compatibility check
Try editing file metadata.json in the root of the module, change the version at the bottom: 2.1.17 becomes 2.1.18
stamboom.BertKoor.nl runs on webtrees v1.7.13
Please Log in or Create an account to join the conversation.