Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xwiki-contrib/application-admintools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 67d762ecf89b
Choose a base ref
...
head repository: xwiki-contrib/application-admintools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 14d0cdf11c67
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Sep 30, 2024

  1. 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}}'
    ```
    amottier committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    d452a47 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    14d0cdf View commit details
    Browse the repository at this point in the history
Loading