-
Couldn't load subscription status.
- Fork 51
Description
Hello,
we receive an error message when we edit a class with an xdata block via Server-Side editing:
Failed to save 'Example.cls': Unable to write file 'isfs://localhost:test/Example.cls' (Body of '403 Forbidden' response to /api/atelier/v8/TEST/doc/Example.cls?ignoreConflict=1 request is not JSON. Is the web server suppressing detailed errors?)
We were able to simplify the example to this code:
Class Example Extends %RegisteredObject
{
XData motherPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
<pane xmlns="http://www.intersystems.com/zen" >
<MYCOMP:MyTablePane>
<column
filterType="query"
filterQuery="SELECT 'Test' union SELECT 'Test'" />
</MYCOMP:MyTablePane>
</pane>
}
}
It seems that the problem occurs with the union. If you set filterQuery="SELECT ‘Test’", there is no problem. If you set filterQuery="SELECT ‘Test’ union SELECT ‘Test’" /> with 6 spaces after the union, it also works.
The code can be successfully compiled in Studio,
For other classes with the Union combination, the same error occurs.