Author: scabanovich
Date: 2008-06-02 08:09:22 -0400 (Mon, 02 Jun 2008)
New Revision: 8498
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java
Log:
JBIDE-2259
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java
===================================================================
---
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java 2008-06-02
12:08:07 UTC (rev 8497)
+++
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java 2008-06-02
12:09:22 UTC (rev 8498)
@@ -49,6 +49,7 @@
public static void saveModelObject(Element element, XModelObject object, Properties
context) {
if(object == null) return;
String path = object.getPath();
+ if(path == null) return;
XModelObject base = (XModelObject)context.get(SeamXMLConstants.KEY_MODEL_OBJECT);
if(base != null && base.getModel() == object.getModel()) {
String basePath = base.getPath();
Show replies by date