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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

717 views 0 3
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