I have updated openui5 library of my project from 1.42.7 to 1.60.12 (lts)
If I try to run the app with the new version I have this errors
Uncaught Error: failed to load 'sap/ui/core/library.js' from resources/sap/ui/core/library.js: 404 - Not Found
The tree structure of my project have openui5 files into resources/openui path 
In index.html i set src in this mode:
<script id="sap-ui-bootstrap"
type="text/javascript"
**src="resources/openui/sap-ui-core.js"**
data-sap-ui-theme="sap_belize"
data-sap-ui-xx-bindingSyntax="complex"
data-sap-ui-libs="sap.m"
data-sap-ui-preload=""
data-sap-ui-resourceroots='{
"ui5bp": "./",
"model": "./model"
}'
>
</script>
Il seems that the first call of sap-ui-core.js finish correctly (from Webcontent/resources/openui ) but then the call of library.js is called from Webcontent/resources/ , not from Webcontent/resources/openui
In 1.42 version all works fine. Note: if i try to retrieve openui5 library from web all works fine... src="http://bit.ly/2PIIZtH"
from Loading library.js from bad path

No comments:
Post a Comment