Web based family history software

Question compatibility check

  • WGroleau
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 year 7 months ago #1 by WGroleau
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.)

--
Wes Groleau
UniGen.us/

Please Log in or Create an account to join the conversation.

  • bertkoor
  • Away
  • Platinum Member
  • Platinum Member
  • Greetings from Utrecht, Holland
More
1 year 7 months ago #2 by bertkoor
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.

Powered by Kunena Forum
}