[xwiki-contrib/application-admintools] d452a4: Fix detection of incompatible XWiki version
Branch: refs/heads/master Home: https://github.com/xwiki-contrib/application-admintools Commit: d452a4706efd426334d77e2ade04c6d8ea8968ee https://github.com/xwiki-contrib/application-admintools/commit/d452a4706efd4... Author: Antoine Mottier <[email protected]> Date: 2024-09-30 (Mon, 30 Sep 2024) Changed paths: M src/main/resources/Admin/DB2FS.xml Log Message: ----------- Fix detection of incompatible XWiki version Due to `ListAttachmentArchive` being moved from `org.xwiki.store.legacy.doc.internal` to `com.xpn.xwiki.internal.doc` in XWiki 12.0 the class import fail in any version higher than 12. Removing the import and using instead a fully qualified class name allow the code in the page that check XWiki for compatibility to successfully being executed instead of failing on the import statement: ``` if (versionEnvironment.compareTo(version910) >= 0) print '{{error}}This tool cannot be used in XWiki >= 9.11RC11{{/error}}' ``` Commit: 14d0cdf11c67d425941f632def06f9a2551a82a4 https://github.com/xwiki-contrib/application-admintools/commit/14d0cdf11c67d... Author: Thomas Mortagne <[email protected]> Date: 2024-10-01 (Tue, 01 Oct 2024) Changed paths: M src/main/resources/Admin/DB2FS.xml Log Message: ----------- Merge pull request #34 from amottier/fix-db2fs-version-test Compare: https://github.com/xwiki-contrib/application-admintools/compare/67d762ecf89b... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-admintools/settings/notificatio...
participants (1)
-
XWiki Notifications