cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP BAS Adaptation Project - SAPUI5 Visual Editor Error

ddusart_mtl2
Explorer
0 Kudos
1,618

Hello,

I try to do an Adaptation Project for a standard Fiori App, and in BAS, I get the following error while trying to open the SAPUI5 Visual Editor :

I see that the JSON it's trying to parse in the UIAdaptation.js is like this :

oProjectSettings.mergedDescriptor:

Note: Since your browser does notsupport JavaScript, you must press the Continuebutton once to

'">'<html><head><meta http-equiv="cache-control" content="no-cache" /><meta http-equiv="pragma" content="no-cache" /></head><body onload="javascript:var url=window.location.hash;if(url&&(0!==url.length)){document.cookie="oucqqvqvwazozbwroreeeoyryyodcyrxfytyrxq_anchor="+escape(url)+"; path=/; secure; samesite=none"}document.forms[0].submit()"><noscript><p><strong>Note:</strong> Since your browser does notsupport JavaScript, you must press the Continuebutton once to</p></noscript><form method="POST" action="https://login.microsoftonline.com/db12fb3c-aaaa-aaaa-8be5-aaaaaaa79/saml2"><input type="hidden" name="SAMLRequest" value="PHNhbWxwOkF1dGhuUmVxdWVzdCBJRD0iUzAwNTA1NmE5LTliNjEtMWVlZS04MTg4LWRjODE3ZjgzODE3MCIgVmVyc2lvbj0iMi4wIiBJc3N1ZUluc3RhbnQ9IjIwMjMtMDYtMDZUMDg6NDg6MjJaIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9sb2dpbi5taWNyb3NvZnRvbmxpbmUuY29tL2RiMTJmYjNjLWMyODktNDRhMy04YmU1LTQ5ZjViOGU5NmU3OS9zYW1sMiIgRm9yY2VBdXRobj0iZmFsc2UiIElzUGFzc2l2ZT0iZmFsc2UiIHhtbG5zOnNhbWxwPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6cHJvdG9jb2wiPjxzYW1sOklzc3VlciB4bWxuczpzYW1sPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXNzZXJ0aW9uIj5HNERfMjAwPC9zYW1sOklzc3Vlcj48ZHM6U2lnbmF0dXJl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WldOVXZFQ3oyRzA3UHIvUU0wCjl6RElVT05BRXhJMzRoeEdwYSsweVdzTXBqc2p0VHpjQjU5UUdINUxhY2locTU0R2FBc1dQNEZBeDZvUmtMV3FVWWRmTzFROWYzV3cKVExDbnczc213eExUdHorcXNTK29Iek9kWGszaFlESW9RbVMvRVFRMUtwVHZ4QnpqOE5qZGhnSmFUTi9WejE0WElrMFVvNVg0NUhLVgp0ZnBKT1VUMXdPcHVBSUY3cGJTc1g3MzB5aDdxQTB6RWdhTUM0UT09PC9kczpTaWduYXR1cmVWYWx1ZT48L2RzOlNpZ25hdHVyZT48c2FtbHA6TmFtZUlEUG9saWN5IEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6MS4xOm5hbWVpZC1mb3JtYXQ6dW5zcGVjaWZpZWQiIEFsbG93Q3JlYXRlPSJ0cnVlIi8+PC9zYW1scDpBdXRoblJlcXVlc3Q+"><input type="hidden" name="RelayState" value="oucqqvqvwazozbwroreeeoyryyodcyrxfytyrxq"><noscript><input type="submit" value="Continue"></noscript></form></body></html>'

Note: Since your browser does notsupport JavaScript, you must press the Continuebutton once to

'">

Note: Since your browser does notsupport JavaScript, you must press the Continuebutton once to

'">I cannot go any further for adapting the app. Any idea on how to overcome this issue ?

Note: Since your browser does notsupport JavaScript, you must press the Continuebutton once to

'">

Accepted Solutions (1)

Accepted Solutions (1)

hristotsolev
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dimitri,

You have this error because instead of manifest of the app the system returns login form. Visual Editor is not expecting a login form but rather the app to load directly, that's why you have that issue. To avoid it you have to login initially before starting the Visual Editor. It is good if you can check how the destination is configured, the authentication type should be Basic or No Authentication. If the authentication type is Principle Propagation and the you are using SAML in the destination this property should be set:

URL.headers.x-sap-saml2 : disabled


Regards,

Hristo

ryegrost8
Explorer
0 Kudos

Nice tip! I was having issues unrelated to this thread, and this solution worked for me. Just wanted to share the problem and solution with others:

Problem: Establishing communication between BTP using Destinations with basic authentication against an S/4Hana Public Cloud instance resulted in the following error being displayed in the server logs:
"... Since your browser does not support JavaScript, you must press the Continue button once to ..."

Solution: Due to IAS settings, even with a technical user defined through the "Communication User" tile, service requests might be redirected to SAML authentication. The parameter URL.headers.x-sap-saml2: disabled did the trick.

Answers (0)