-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
2.9.19
-
None
When a content contains broken links, the "broken links information" UI Item generates XML that is not parseable.
This is what is generated by the UI Item instance :
... <UIItem> <Label/> <Description>...</Description> ... <Action plugin="docbook"> <ClassName>ANWRT_BrokenLinks</ClassName> <Parameters> </upmc-cms/default/fr/rubrique/contenuasupprimer.html>un petit lien cassé <//upmc-cms/default/fr/rubrique/contenuasupprimer.html> </upmc-cms/modules/resources/download/default/brokenlinks/testdoc.doc>brokenlinks/testdoc.doc <//upmc-cms/modules/resources/download/default/brokenlinks/testdoc.doc> </Parameters> <Imports> <Import>/plugins/docbook/resources/js/brokenlinks/brokenlinks.js.i18n</Import> </Imports> </Action> </UIItem> ...
Obviously, parameters are invalid, the broken link path should be saxed as an attribute, as the content of a child tag or the content of another parameter...
This is not critical since contents are rendered correctly, but this makes cocoon-view=xml unusable in contents that contains broken links, as the browser tries to interpret the generated XML.