I added a script fragment, but now I'm not able to edit or delete it

I've create a script fragment (raw xml module and custom web item provider), now I'm not able to edit or delete any of the ones that I have create.

When I click on the setting cog icon, nothing happens. There are other script fragments like "Hide system or plugin UI element" that allow me to edit, but I now get the following error:

The web item provider class is required.: <web-item-provider key="internalissues-web-item-provider" section="toppy/top-menu-section"/>

com.atlassian.plugin.util.validation.ValidationException: The web item provider class is required.: <web-item-provider key="internalissues-web-item-provider" section="toppy/top-menu-section"/> at com.atlassian.plugin.util.validation.ValidationPattern.evaluate(ValidationPattern.java:66) at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.validate(AbstractModuleDescriptor.java:170) at com.atlassian.plugin.descriptors.AbstractModuleDescriptor.init(AbstractModuleDescriptor.java:72) at com.atlassian.plugin.web.descriptors.WebItemProviderModuleDescriptor.init(WebItemProviderModuleDescriptor.java:42) at com.atlassian.plugin.ModuleDescriptor$init$3.call(Unknown Source) at com.atlassian.plugin.ModuleDescriptor$init$3.call(Unknown Source) at com.onresolve.scriptrunner.fragments.FragmentsManager.register(FragmentsManager.groovy:248) at com.onresolve.scriptrunner.fragments.FragmentsManager.register(FragmentsManager.groovy) at com.onresolve.scriptrunner.fragments.IFragmentsManager$register$0.call(Unknown Source) at com.onresolve.scriptrunner.canned.common.fragments.CustomRawXmlDescriptorScript$_doScript_closure2.doCall(CustomRawXmlDescriptorScript.groovy:109) at com.onresolve.scriptrunner.canned.common.fragments.CustomRawXmlDescriptorScript.doScript(CustomRawXmlDescriptorScript.groovy:103)

No other apparent errors showing in log.

 

1 answer

1 accepted

Hello Charlie

You might be suffering from a know bug that arises when you create two fragments that are exactly the same:

https://productsupport.adaptavist.com/browse/SRPLAT-217

If you are, there is a workaround in that very bug to solve your problem.

Cheers!

Dyelamos

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

835 views 2 9
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you