Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
metatype-1.1.2
-
None
-
None
Description
Whenever a Property is defined with an empty default value, AttributeDefinition.getDefaultValue() returns a null.
For ex:
<code>
@Property(value = "")
private static final String LOG_PART1_PATH = BTM_PREFIX + "logPart1Path";
</code>
In this case, AttributeDefinition.getDefaultValue() returns null instead of
, i.e,. a string array with an empty string.
This issues is not seen in 1.0.6, the version of felix I'm using. But, when I migrate to 1.1.2, face this issue.
I suspect the fixes FELIX-3757 and FELIX-3758 are the culprits. These were fixed between 1.0.6 and 1.0.8