[227631] primary version not working with dynamic presets
diff --git a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java b/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java index 45c432f..d8878c2 100644 --- a/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java +++ b/plugins/org.eclipse.wst.web.ui/static_web_ui/org/eclipse/wst/web/ui/internal/wizards/DataModelFacetCreationWizardPage.java
@@ -236,12 +236,11 @@ presetID = RuntimePresetMappingRegistry.INSTANCE.getPresetID(facetRuntimeTypeID, facetRuntimeVersion, facetID, facetVersion); } } + final Set<IProjectFacetVersion> facets = getFacetConfiguration( fv ); + this.fpjwc.setProjectFacets( facets ); if(presetID != null){ this.fpjwc.setSelectedPreset(presetID); - } else { - final Set<IProjectFacetVersion> facets = getFacetConfiguration( fv ); - this.fpjwc.setProjectFacets( facets ); } } }