Community
Participate
Working Groups
It was discovered that, in EARComponentImportOperation.java, a check (line 153) of whether or not a component is already in the DD or not, is incomplete; a component with a leading slash in its deploy path is treated as if they are not already in the DD. To Recreate: -Create a new Ear project with a DD and all default modules. -Change some modules deploy path to have a leading slash. -Export the Ear, then Import the Ear. -Compare the component file and the application.xml, the module id entries are missing from the component file.
Created attachment 182933 [details] Proposed Patch Proposed Patch: Add a check to see if the uri as an absolute path as well as the given, non absolute path is in the DD.
Code checked into 32M and HEAD for WTP 3.2.3 and 3.3.
approve