question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ui5 build --exclude-task escapeNonAsciiCharacters Not Working For Preload

See original GitHub issue

Expected Behavior

To not escape the non ascii character in the Component-preload.

Current Behavior

Escapes the non ascii character in the Component-preload.

Steps to reproduce the issue

  1. ui5 build --exclude-task escapeNonAsciiCharacters
  2. Check dist/Component-preload.js
  3. The non ascii characters were escaped.

Context

  • UI5 Module Version (output of ui5 --version when using the CLI): 1.7.0
  • Node.js Version: v10.15.3
  • npm Version: 6.4.1
  • OS/Platform: Windows Professional 64
  • Browser (if relevant): NA
  • Other information: NA

Affected components (if known)

Log Output / Stack Trace

NA

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
RandomBytecommented, Jan 22, 2020

We were finally able to reproduce and analyze this issue in a live NetWeaver system 🎉

For anyone facing this issue in an FLP on ABAP environment, please implement SAP Note 2884219

If you continue to experience this issue, please let us know here or by raising an OSS ticket.

0reactions
tobiasso85commented, Dec 16, 2019

Here is the manifest content (loaded by the browser when I open the app served by SAP Gateway):

manifest.zip

@sebasgoldberg The manifest looks fine and should be unrelated. Could you provide the following files:

  • ui5.yaml
  • i18n.properties
  • i18n.properties (after the build, as created for the dist)
  • the “i18n.properties line” from the component-preload.js
Read more comments on GitHub >

github_iconTop Results From Across the Web

UI5 tooling --include-task=generateLibraryPreload didn't work
Hi. I want to include the task --include-task=generateLibraryPreload. ui5 build preload --config=ui5.yaml --clean-dest --dest dist ...
Read more >
How to generate only Component-preload.js with UI5 Tooling
Now, I want to achieve the same result with UI5 Tooling. To do so, I'm using the following npm script : ui5 build...
Read more >
UI5 Tooling - SAP
An open and modular toolchain to develop state-of-the-art applications ... ui5 build Building my-app... (1/8) Running task escapeNonAsciiCharacters.
Read more >
@ui5/cli - npm
Start using @ui5/cli in your project by running `npm i @ui5/cli`. ... --exclude-task=generateAppPreload Build project and dependencies by ...
Read more >
Manifest Model Preload - Documentation - Demo Kit
The preload flag is located in manifest.json under sap.ui5/models : ... The flag is not active by default, as there are some prerequisites:....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found