Details
-
Improvement
-
Status: Closed
-
Low
-
Resolution: Fixed
-
r2.12.09
-
None
-
None
Description
If you export and save the XML of the editor configuration, an editor may pretty format the xml
<sv:property sv:name="plugin.class" sv:type="String">
<sv:value>org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin</sv:value>
</sv:property>
becomes
<sv:property sv:name="plugin.class" sv:type="String">
<sv:value>org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin
</sv:value>
</sv:property>
The value now contains a newline character and some spaces, which breaks the editor (ClassNotFoundException). It would be nice if someone added a trim() before calling Class#forName(String name)