openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

can't use 'I' character on expression binding

Open sahinhakan opened this issue 7 years ago • 3 comments

OpenUI5 version: 1.60.7 & 1.44.26

Browser/version (+device/version): Chrome 75.0.3770.80 (latest)

Any other tested browsers/devices(OK/FAIL): Firefox is OK

Hello Experts,

After google chrome update I got errors about expression binding like that. Uncaught SyntaxError: Expected '}' and instead saw 'I' in expression binding "ui.ssuite.s2p.mm.pur.po.manage.st.s1::sap.suite.ui.generic.template.ListReport.view.ListReport::C_PurchaseOrderTP--{:= ${parameter>/stableId}.getStableId({type: 'ListReportPage', subType: 'DynamicPageTitle'})}" is not a valid ID. at position 152

I can't use 'I' char. like parseInt, getStableId

image

sahinhakan avatar Jun 13 '19 12:06 sahinhakan

I've just got an update for Chrome to 75.0.3770.90. Do you still face the issue with that version?

gregorwolf avatar Jun 14 '19 08:06 gregorwolf

Hello @sahinhakan !

From the error message I can see that the input to the binding parser was "ui.ssuite.s2p.mm.pur.po.manage.st.s1::sap.suite.ui.generic.template.ListReport.view.ListReport::C_PurchaseOrderTP--{:= ${parameter>/stableId}.getStableId({type: 'ListReportPage', subType: 'DynamicPageTitle'})}" is not a valid ID. which is indeed not a valid expression binding, but an error message thrown by ManagedObject for an invalid ID. How did this message end up in your binding?

Can you please tell us more about what you are doing and how we can reproduce the issue?

Best regards, Thomas

ThomasChadzelek avatar Jun 14 '19 09:06 ThomasChadzelek

Problem is resolved by chrome 75.0.3770.90 update. Thank you for your interesting.

sahinhakan avatar Jun 14 '19 13:06 sahinhakan