Community
Participate
Working Groups
Build Identifier: 321 In EARVirtualComponent.customizeCreatedReference, we currently do the following if( dependentObject instanceof ICommonModule ) reference.setArchiveName(((ICommonModule) dependentObject).getUri()); This needs to be: if( referenceComponent instanceof ReferencedComponent ) reference.setArchiveName(((ReferencedComponent)referenceComponent).getArchiveName()); The reason for doing this is that the dependentobject is not updated when the component file changes, however the archivename is set to the correct value of the uri. Reproducible: Always
Created attachment 174353 [details] patch This patch gets the archive name from the referencedcomponent instead of the dependent object, so that we get the most updated value of the uri/archivename.
approved
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. This issue causes stale values to be surfaced in the UI in the deployment assembly page. * Is there a work-around? If so, why do you believe the work-around is insufficient? Close and open the project. * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? This fix has been tested by checking the deployment assembly page to ensure that the updated archive name shows up. Also performed project creation/deletion scenarios to ensure nothing was broken. * Give a brief technical overview. Who has reviewed this fix? This fix has been reviewed by Chuck Bridgham. * What is the risk associated with this fix? No known risks.
Committed to HEAD for WTP 3.2.1 and WTP 3.3
Created attachment 174423 [details] updated patch Attaching an updated patch for the EARVirtualComponent class, that handles the case where the archive name is null. In this case, it gets the default archivename and sets it on the references. This patch does not obsolete the previous patch, and should be applied over the previous patch.
Reopening the bug to take it through the approval process.
Created attachment 174425 [details] updated patch updating the patch.