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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Apr 19, 2018 in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

366 views 0 6
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