-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0 DXP FP37, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X, 7.1.X, Master
-
Component/s: AMD Module Loader, ~ [Archived] Frontend Infrastructure
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Priority Level:Low
-
Git Pull Request:
Currently NPMResolver allows resolving any npm module name in the context of an OSGi bundle except the one associated with such OSGi bundle. We need a method to obtain an OSGi bundle's own module.
Steps to test:
- Start Portal
- Deploy attached JAR file
- Add a "npm-portlet-a Portlet" to the Welcome page
- Assert that it works and displays "NNN/npm-portlet-a@1.0.0" inside the portlet box (where NNN will be an integer number representing a bundle id)