FELIX-4957 : [DS][RFC-212] Various issues with field references


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1691287 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java b/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java
index b3eeeae..9d20620 100644
--- a/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java
+++ b/scr/src/main/java/org/apache/felix/scr/impl/helper/FieldHandler.java
@@ -478,6 +478,10 @@
     private boolean initField(final Object componentInstance,
             final SimpleLogger logger )
     {
+    	if ( valueType == ParamType.ignore ) 
+    	{
+    		return true;
+    	}
         try
         {
             if ( metadata.isMultiple() )
@@ -990,7 +994,7 @@
 
             public boolean init(final Object componentInstance, final SimpleLogger logger)
             {
-                if ( fieldExists( logger) )
+                if ( fieldExists( logger ) )
                 {
                     return initField(componentInstance, logger);
                 }