[ https://issues.apache.org/jira/browse/FELIX-5208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-5208. ------------------------------------- Resolution: Won't Fix Resolving as won't fix - if this is still an issue with latest metatype/tooling, please reopen and update the issue > AttributeDefinition.getDefaultValue() returns null > -------------------------------------------------- > > Key: FELIX-5208 > URL: https://issues.apache.org/jira/browse/FELIX-5208 > Project: Felix > Issue Type: Bug > Components: Metatype Service > Affects Versions: metatype-1.1.2 > Reporter: Raghavendra Gali > Priority: Major > > 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 -- This message was sent by Atlassian Jira (v8.20.10#820010)