Skip to content

Conversation

@surli
Copy link
Member

@surli surli commented Dec 2, 2025

Jira URL

Changes

Description

  • Handle properly classloader reload in Scheduler plugin with a
    dedicated component

Clarifications

Screenshots & Video

Executed Tests

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    *

…eduled when the extension is upgraded

  * Handle properly classloader reload in Scheduler plugin with a
    dedicated component
@surli surli force-pushed the feature-deploy-XWIKI-14494 branch from b864e9d to 1ed328f Compare December 2, 2025 16:58
…eduled when the extension is upgraded

  * Use proper event
this.schedulersClassLoaderManager.removeSchedulers(wikiId);
} else if (event instanceof ClassLoaderResetedEvent classLoaderResetedEvent) {
String namespace = (String) source;
this.schedulersClassLoaderManager.removeSchedulers(String.format("wiki:%s", wikiId));
Copy link
Member

@tmortagne tmortagne Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to reuse the WikiNamespace helper for that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah indeed, I wasn't aware of this.

…eduled when the extension is upgraded

  * use WikiNamespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants