If a request is made in the browser for a missing JS module like:
the server replies with an empty resolvedModules array which finally makes the loader fail.
The server should return a resolution error in this case.
Steps to reproduce:
- Start portal
- Deploy attached JAR
- Add a "My project" portlet to the page
- An error should be shown in the browser console stating that some modules (named "perico" and "juanillo") could not be loaded:
- A cryptic error is shown in the browser console with no information about the missing modules