You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the fiori-freestyle templates - basic template and generate a project while providing an application ID with more than one dot e.g. my.demo.App then the model import in the generated Component.js is broken because only the first. is replaced with a /.
Expected Behavior
The Component.js works and all the dots are properly replaced.
Steps to Reproduce
Modify the configuration in test/basic.test.ts to use my.demo.App as config>app>id value
Run the test
Check the test test-output/basicTemplate/**/Component.js
See see issue in the imports at the beginning of the file
* main:
update(FF): Updates FF Worklist controllers and tests (#63)
fix: app-id creation at scaffolding time in Component.js (fixes#70) (#77)
Add Node V16 build and compatibility (#64)
chore: set version of all modules to v0.9.0 (#71)
chore: add github codeowners file (#58)
# Conflicts:
# .github/workflows/pipeline.yml
# packages/fiori-freestyle/package.json
# pnpm-lock.yaml
Bug Description
If you use the
fiori-freestyle
templates - basic template and generate a project while providing an application ID with more than one dot e.g. my.demo.App then the model import in the generatedComponent.js
is broken because only the first.
is replaced with a/
.Expected Behavior
The
Component.js
works and all the dots are properly replaced.Steps to Reproduce
test/basic.test.ts
to usemy.demo.App
asconfig>app>id
valuetest-output/basicTemplate/**/Component.js
Context
fiori-freestyle
Log Output / Stack Trace / Screenshots
Priority
Stakeholder Info (if applicable)
Reported by @vobu
The text was updated successfully, but these errors were encountered: