| Summary: | FACET_PROJECT_NAME not updated in DataModel when project name is changed for facet added after opening the new project wizard | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Roberto Sanchez Herrera <shr31223> | ||||||
| Component: | Faceted Project Framework | Assignee: | Roberto Sanchez Herrera <shr31223> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Konstantin Komissarchik <konstantin> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | ccc | ||||||
| Version: | unspecified | Flags: | ccc:
review+
|
||||||
| Target Milestone: | 3.0.5 P | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Roberto Sanchez Herrera
Created attachment 189426 [details]
patch
With this patch, FacetsSelectionDialog will use only one copy of the IFacetedProjectWorkingCopy, fixing the problem reported in this bug (and also will make the Cancel button useless, as I commented in the problem report).
This looks to be a direct back-port of the fix done in a later release. In which case my only concern is making sure that all files changed by the original fix are patched. Unfortunately, it's been long enough that I do not have recollection about which files were affected (or whether this is the only one). May want to search CVS history for other references to the original bug. You may also want to back-port the more recent fix to remove the cancel button. Created attachment 189637 [details]
Patch 2
Updated patch that also removes the Cancel button
I looked on the history of each file in plugins org.eclipse.wst.common.project.facet.core and org.eclipse.wst.common.project.facet.ui for modifications using bugzilla 246448, and found some: GridLayoutUtil FacetedProjectFramework IFacetedProject IFacetedProjectWorkingCopy But looks like none of them are related to the changes included in the patch in this bugzilla After another search, I found that these were the files changed by bugzilla 246448, but still looks like none of the changes are related to the patch in this bug (except FacetsSelectionDialog) Plugin: org.eclipse.wst.common.project.facet.core: FacetedProjectFramework IFacetedProject IFacetedProjectWorkingCopy DelayedClassLoadingListener FacetedProject FacetedProjectFrameworkImpl FacetedProjectPropertyTester FacetedProjectWorkingCopy PresetsExtensionPoint ProjectFacetPreferences (Created) ProjectFacetPreferencesGroup (Created) RuntimeManagerImpl CollectionsUtil (Created) DomUtil (Created) FileUtil MiscUtil PluginUtil ProgressMonitorUtil XmlParseException (created) XMLWriter (Created) Pluginutil.properties MANIFEST.MF plugin.xml some schemas (coyright) Plugin: org.eclipse.wst.common.project.facet.ui FacetsSelectionDialog EnhancedComposite (Created) GridLayoutUtil TableWrapLayoutUtil plugin.xml some schemas (coyright) I think there is something wrong with the search methodology. The stated results are improbable. This might be difficult/impractical to do with CVS, so we may need to just assume that all changes were contained in FacetsSelectionDialog and test this patch really well. Committed to R3_0_5_patches |