Author: scabanovich
Date: 2008-06-02 08:08:07 -0400 (Mon, 02 Jun 2008)
New Revision: 8497
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java
Log:
JBIDE-2259
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXMLHelper.java 2008-06-02
10:21:15 UTC (rev 8496)
+++
trunk/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)
@@ -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