FELIX-1488 Setting a static configuration binding must
also set the "staticallyBound" flag according to the
new binding: true if bound, false if unbound

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@804916 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/src/main/java/org/apache/felix/cm/impl/Factory.java b/configadmin/src/main/java/org/apache/felix/cm/impl/Factory.java
index 9bff795..3b842c1 100644
--- a/configadmin/src/main/java/org/apache/felix/cm/impl/Factory.java
+++ b/configadmin/src/main/java/org/apache/felix/cm/impl/Factory.java
@@ -145,7 +145,7 @@
         if ( staticBinding )
         {
             this.bundleLocation = bundleLocation;
-            this.staticallyBound = true;
+            this.staticallyBound = bundleLocation != null;
 
             // 104.15.2.8 The bundle location will be set persistently
             storeSilently();