Skip to Content
0

Web IDE Bug: Code Editor Closes XML Tag Abruptly during Binding Definition

Nov 28, 2017 at 05:43 PM

118

avatar image

Web IDE version: 171123 (Multi-cloud)

Steps to reproduce:

  1. Create a UI5 project with an XMLView in it
  2. In the XML file, define an arbitrary element.
  3. In that element, define a property with complex binding syntax that has a model name.
  4. End up having a closed XML tag right after the model name and ">" character inside the binding definition:
<Something bla="{
  path: 'modelName></Something>'
}"></Something>

Any other information?

Screencast: https://photos.app.goo.gl/JgwkrZxTkWS3wYUS2

It's a common scenario for all UI5 application developers. It would be nice if this behavior gets finally fixed.

______________________

Update 2017/11/30: Since Web IDE is relying on the ace editor, I mentioned this behavior in a GitHub issue. One of the maintainers fixed this issue on the same day which can be tested here. It would be nice if Web IDE would update its ace editor plugin as soon as the fix is available.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Boghyon Hoffmann Feb 04 at 03:26 PM
0

The fix is now publicly available in the ace editor as of version 1.3.0 which can be tested here.

When Web IDE updates its ace plugin, the fix should be available there too. You can see the currently used ace version by entering `ace.version` in the browser console.

Share
10 |10000 characters needed characters left characters exceeded