My updated soy wizard template is not displaying when my blueprint addon is uninstalled and reinstalled.
Here's what I did...
1. Created blueprint plugin that contains a soy template wizard.
2. Uploaded blueprint plugin to Confluence via Manage Add-Ons.
3. Made changes to the soy template.
4. Uninstalled the first version of the blueprint plugin from Confluence via Manage Add-Ons.
5. Ran atlas-clean to clean my blueprint project directory.
6. Ran atlas-package to repackage my blueprint plugin.
7. Uploaded revised blueprint plugin to Confluence via Manage Add-Ons.
8. Selected my blueprint from Create dialog.
The wizard displays, but it doesn't show the fields I added. It's as if the revised soy template isn't getting picked up and thus isn't displayed.
Note: I also tried deleting the jar file that is created when you run atlas-package. Then I ran atlas-package again. That didn't work either. :-(
I also tried disabling the blueprint in the global templates list and in the individual space blueprints lists. Neither of these options worked.
Have you checked your confluence logs when the plugin is getting installed? Are there any errors?
If the soy is used to render the wizard form in the create dialog - it might be a caching issue in the browser. Did you try hitting shift+refresh?
After doing some additional research (combing through the Confluence docs), it looks like I need to add feature discovery to my plugin. Specifically, the documentation says that if you change an existing plugin module, you need to unregister the module and reregister the module. Can someone confirm this?
And if this is the case, can you provide a sample Java file that shows how to unregister and reregister my module? I suspect this is fairly easy if you are a Java programmer; unfortunately, I am not one. So I am completely stuck.
Thanks, in advance,
Thanks for your help. It turned out to be an issue with my browser cache. Argh!
Note to Atlassian - it would be extremely helpful if you included a tip in your blueprint tutorials to let folks know that if they are making changes to their blue print plug-ins (which is highly likely given the nature of learning) and the changes don't show up, try refreshing your browser cache.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG