Closed fredvd closed 1 year ago
Wow - thanks Fred - you saved me a load of frustration here! (Plone 5.1.4)
I close the issue, because it addresses a Plone version that is no longer supported. If you think this is wrong please reopen the issue and assign a matching milestone.
What I did:
Testing Plone.app.mosaic with Plone 5.1 coredev testing branch by using https://github.com/plone/plone.app.mosaic/blob/master/test-5.1.coredev.cfg .
Install Plone site, install Mosaic add'on. Go to resource registries in the control panel Activate development mode Develop Javascript for either mosaic Grid or Mosaic styles
What I expect to happen:
One or more javascripts that switch to development mode.
What actually happened:
I get a traceback that the plone.resourceregistries.scripts viewlet can no longer be rendered as there are no resources to add:
The only way to back out of this is to revert the last trancaction in the undo tab in the ZMI. Upon closer inspection and a lot of trial and error debugging it is only the mosaic-styles and mosaic-grids bundles that cause the registry to break. Checking their registration in plone.app.mosaic show that these bundles have no resources compared to the other plone.app.mosaic resources.
What version of Plone/ Addons I am using:
https://github.com/plone/plone.app.mosaic/blob/master/test-5.1.coredev.cfg