Default sandbox config missing in UI5 serve
Maintainer antworten meist innerhalb von 1 Tag
@RandomByte arbeitet bereits daran.
Seit 23.9.2020.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
Expected Behavior
After setting up SAPUI5 version 1.81.0 and running UI5 serve I should be able to serve the same files belonging to SAPUI5 as the content delivery server for all declared libraries so meaning http://localhost:8080/test-resources/... should bring the same results as https://sapui5.hana.ondemand.com/1.81.0/test-resources/...
Current Behavior
http://localhost:8080/test-resources/sap/ushell/shells/sandbox/fioriSandboxConfig.json
brings a 404: Cannot GET /test-resources/sap/ushell/shells/sandbox/fioriSandboxConfig.json
whereby
https://sapui5.hana.ondemand.com/1.81.0/test-resources/sap/ushell/shells/sandbox/fioriSandboxConfig.json brings the correct file.
As a result I cannot run my App in sandbox mode because it relies on the default sandbox configuration which cannot be loaded.
The sandbox itself under http://localhost:8080/test-resources/sap/ushell/bootstrap/sandbox.js and other SAPUI5 files are loaded fine so it seems my general setup is working.
Steps to reproduce the issue
- Prepare a ui5.yaml file:
specVersion: "2.2"
type: application
metadata:
name: [...]
framework:
name: SAPUI5
version: 1.81.0
libraries:
- name: sap.ui.core
- name: sap.m
- name: sap.ushell
development: true
- name: themelib_sap_fiori_3
- UI5 serve
- Open URL http://localhost:8080/test-resources/sap/ushell/shells/sandbox/fioriSandboxConfig.json in browser
Context
- UI5 Module Version (output of
ui5 --versionwhen using the CLI):2.4.1 - Node.js Version:
v11.11.0 - npm Version:
6.7.0 - OS/Platform:
Windows 10 1909 x64 - Browser (if relevant):
Chrome 84
Affected components (if known)
Log Output / Stack Trace
info normalizer:translators:ui5Framework Using SAPUI5 version: 1.81.0
Server started
URL: http://localhost:8080
The following stack trace when trying to open my app in sandbox mode in browser:
[...]
2020-08-26 16:37:15.817814 Mixing/Overwriting sandbox configuration from http://localhost:8080/test-resources/sap/ushell/bootstrap/../shells/sandbox/fioriSandboxConfig.json. -
jquery.js?eval:9275 GET http://localhost:8080/test-resources/sap/ushell/shells/sandbox/fioriSandboxConfig.json 404 (Not Found)
send @ jquery.js?eval:9275
ajax @ jquery.js?eval:8756
sjax @ jquery.sap.sjax.js?eval:73
applyJsonApplicationConfig @ sandbox.js:141
bootstrap @ sandbox.js:215
constructor @ Core.js?eval:549
eval @ Core.js?eval:4231
(anonymous) @ ui5loader.js:1826
requireAll @ ui5loader.js:1749
executeModuleDefinition @ ui5loader.js:1800
ui5Define @ ui5loader.js:1932
eval @ Core.js?eval:8
execModule @ ui5loader.js:1664
requireModule @ ui5loader.js:1550
requireSync @ ui5loader.js:2059
(anonymous) @ flpSandbox.html:13
[...]
- Vorherrschende Sprache
- JavaScript
- Sterne
- 511
- Forks
- 82
- Ø Merge
- 23 Std. 51 Min.
- Gemergte PRs (30 T.)
- 58
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesOffenmodule/ui5-builder module/ui5-fs module/ui5-project
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
module/ui5-project
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Evtl. wieder frei @flovogt hat das vor 77 Tagen übernommen, und es ist kein Pull Request offen. Offenroadmap
UI5/cli#1485 · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
build excludes from application project are not applied to dependenciesEvtl. wieder frei @flovogt hat das vor 51 Tagen übernommen, und es ist kein Pull Request offen. Offen
UI5/cli#1446 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Option to specify custom UI5 config for workspace dependency resolutionEvtl. vergeben @flovogt hat das vor 177 Tagen übernommen. Offen
UI5/cli#1369 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
thedevs-network/kutt#1059 ·
-
good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage 35-feedback bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag