Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic modules should be ignored by builder #401

Closed
1 of 6 tasks
kristian opened this issue Nov 19, 2018 · 0 comments
Closed
1 of 6 tasks

Dynamic modules should be ignored by builder #401

kristian opened this issue Nov 19, 2018 · 0 comments
Labels
bug Something isn't working module/ui5-builder Related to the UI5 Builder module

Comments

@kristian
Copy link

Expected Behavior

If components are linked dynamically, e.g. by a property binding:

<core:ComponentContainer async="true" width="100%" height="100%" lifecycle="Application" name="{/component}" />

Builder should not try to resolve the reference when building the application.

Current Behavior

Builder will output a build ERR! in the generateStandaloneAppBundle step (on self-contained builds):

info builder:builder application sap.myhome.shell 🔨 (4/8) Running task generateStandaloneAppBundle...
ERR! lbt:bundle:Resolver **** error: missing module {/component}/Component.js, required by {anypath}/View.view.xml

Steps to reproduce the issue

Create a View containing a ComponentContainer referencing a component as e.g. property binding.

Affected components (if known)

Log Output / Stack Trace

See above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module/ui5-builder Related to the UI5 Builder module
Projects
None yet
Development

No branches or pull requests

2 participants