Make sure that factoryPid is spelled correctly.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@728465 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
index eea8372..b7cac28 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/compendium/ConfigManager.java
@@ -603,7 +603,7 @@
if ( config.getFactoryPid() != null )
{
- json.key( "factoryPID" );
+ json.key( factoryPID );
json.value( config.getFactoryPid() );
}
diff --git a/webconsole/src/main/resources/res/ui/configmanager.js b/webconsole/src/main/resources/res/ui/configmanager.js
index 392c154..05704cd 100644
--- a/webconsole/src/main/resources/res/ui/configmanager.js
+++ b/webconsole/src/main/resources/res/ui/configmanager.js
@@ -265,14 +265,14 @@
])
);
- if (obj.factoryPID)
+ if (obj.factoryPid)
{
parent.appendChild( tr( "content", null, [
td( "content", null, [
text( "Factory Peristent Identifier (Factory PID)" )
]),
td( "content", null, [
- text( obj.factoryPID )
+ text( obj.factoryPid )
])
])
);