"Edit this stage" BUG#800

Subscribe to "Edit this stage" BUG 2 post(s), 2 voice(s)

 
Avatar Chris Briese... 11 post(s) #2116

In the pipelines configuration tab under Administration if you edit a stage and add an element at the wrong level the GUI will report a successful save though the change will not actually be saved.
For example:
Adding this when clicking on “Edit this stage”: <jobs> <job name="doSomething"> ... </job> </jobs> <tabs> <tab name="something" path="something/index.html" /> </tabs>
Will report “Configuration updated successfully!” but not really save as it shouldn’t.
This does behave as it should when editing at the source xml view, however.

 
Avatar Chris Turner Moderator 10 post(s) #2118

Hi Chris,

The issue here is that there is no way for us to XSD validate an XML partial. What we currently do is pull the information out of the XML snippit and load it into our domain object. Then we stream it out to XML (with XSD validation at this point). Any extra tags/attributes are ignored.

The ultimate solution that we are intending in order to solve this is to create wizards with fully verifiable input boxes (potentially leaving the XML snippets for power users)

Thanks,
Chris