Menu

#7 Generate notifications for failed XSLT saves

0.60
closed
nobody
Workflow
Enhancement
2016-07-14
2012-08-02
No

Saving an XSLT template to the workflow engine automatically fails if the XSLT is invalid - which is good. But file managers and the like can't report a useful error message. It would be useful to generate a notification to the current user containing the actual error message from the validity test.

In the coils log file something like the following appears -

xsd.fill(data=payload)
File "/home/awilliam/projects/coils-code/src/coils/logic/workflow/xmlobject.py", line 71, in fill
self.verify(rfile=rfile, data=data)
File "/home/awilliam/projects/coils-code/src/coils/logic/workflow/xmlobject.py", line 142, in verify
raise e
XMLSyntaxError: Opening and ending tag mismatch: when line 13 and choose, line 31, column 23

Related

Wiki: RoadMap

Discussion

  • Adam Tauno Williams

    • milestone: 0.50 --> 0.60
     
  • Adam Tauno Williams

    • Layer: --> Workflow
    • Type: --> Enhancement
     
  • Adam Tauno Williams

    • status: open --> closed
     
  • Adam Tauno Williams

    XSLTFolder of the WebDAV presentations sends an e-mail to the authenticated user with documentation of the error when attempting to save the document. The save then abends with an exception.

     

Log in to post a comment.

MongoDB Logo MongoDB