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

Multiple plugins with frontend need different xwork package names #13

Open
betacore opened this issue Mar 30, 2022 · 2 comments
Open

Multiple plugins with frontend need different xwork package names #13

betacore opened this issue Mar 30, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@betacore
Copy link

Describe the bug
When multiple plugins are developed and deployed, the last deployed plugin will show up the frontend but the previous one will get 404 on loading the frontend because there are conflicts in default xwork package names (webwork, config).

Expected behavior
Multiple plugins can be installed and all frontends will work independantly.

Solution
atlassian-plugin.xml:
add prefixes for xwork package name like:

<xwork key="app-action">
       <package name="$pluginName.webwork" extends="default" namespace="/plugins/$pluginName">
            ...
       </package>
</xwork>
@betacore betacore added the bug Something isn't working label Mar 30, 2022
@weickmanna
Copy link
Member

@betacore @sjahreis I think there is also a problem with the Javascript name "frontend.js" that would be the same for the different frontend applications and overwrite each other. So I think we also need unique .js file names.

@sjahreis
Copy link
Contributor

@weickmanna I agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants