Closed dhruday closed 1 month ago
Could you please share the callstack of the error?
Possibly related issues: https://github.com/SAP/openui5/issues?q=is%3Aissue+curly+escapeSettingsValue
Kindly please go through screenshot
{
in the input field.The following line in AnchorBar#_createSelectItem
puts the given value directly without ManagedObject.escapeSettingsValue
:
From escapeSettingsValue
:
Should be used when property values are initialized with static string values which could contain binding characters (curly braces)
Hello @dhruday , Thank you for sharing this finding. I've created an internal incident DINC0240213. The status of the issue will be updated here in GitHub.
Hello @boghyon,
Thank you for the thorough analysis you've provided on this ticket—your efforts are greatly appreciated!
@dhruday, you can apply the fix starting with OpenUI5 version 1.128.
Best regards, Konstantin Gogov
Thanks for the quick fix @kgogov. I think the anchorBarButtonColor
should be also fixed in:
The problem is: as soon as the wrong value containing {
is stored in the server, and the app generates the OPL based on the stored value at runtime, the app cannot be started anymore due to the error.
Hello @boghyon,
Thank you for pointing out the additional issue with the anchorBarButtonColor
.
I’ve addressed the problem and created a follow-up commit to resolve it.
Best regards, Konstantin Gogov
OpenUI5 version: (Please specify the version you are using, e.g., "1.108.0")
Browser/version (+device/version):
Any other tested browsers/devices (OK/FAIL):
URL (minimal example if possible):
Provide a link to a minimal example that reproduces the issue, if possible. If not possible, mention that.
User/password (if required and possible - do not post any confidential information here):
Mention if a user/password is required to access the example, or state "N/A".
Steps to reproduce the problem:
{
in the input field.What is the expected result?
The application should handle the input gracefully without throwing any errors. It could either:
What happens instead?
A
SyntaxError
is thrown with the following message:Any other information? (attach screenshot if possible)
Include any additional context that might help, such as:
This should give the SAP UI5 community a clear and detailed understanding of the issue, making it easier for them to provide help.
https://community.sap.com/t5/technology-q-a/syntaxerror-no-closing-braces-found-in-after-pos-0-at-bindingparser-dbg-js/qaq-p/13747432