Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flagged in the Confluence DC CDN Health Checks due to deprecated code #325

Open
marcus-si opened this issue Nov 10, 2023 · 0 comments
Open
Labels
confluence enhancement New feature or request jira

Comments

@marcus-si
Copy link

Slack integration plugin for Confluence DC is flagged in the CDN Health Checks due to deprecated code.
Screenshot 2023-11-03 at 16 58 32

After dug into the source codes of atlassian-plugins-webresource and this plugin, the cause is that the plugin has used com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition.
atlassian-plugins-webresource now requires all conditions to implement com.atlassian.plugin.webresource.condition.UrlReadingCondition , and otherwise it will mark a condition as legacy.

To fix the issue, we need to use com.atlassian.confluence.plugin.descriptor.web.urlreadingconditions.UserLoggedInUrlReadingCondition instead of com.atlassian.confluence.plugin.descriptor.web.conditions.user.UserLoggedInCondition .

@mvlasovatl mvlasovatl added enhancement New feature or request jira confluence labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confluence enhancement New feature or request jira
Projects
None yet
Development

No branches or pull requests

2 participants