Robert Munteanu created SLING-4094: -------------------------------------- Summary: Handle PropertyType.UNDEFINED when updating properties Key: SLING-4094 URL: https://issues.apache.org/jira/browse/SLING-4094 Project: Sling Issue Type: Bug Components: IDE Affects Versions: Sling Eclipse IDE 1.0.4 Reporter: Robert Munteanu Priority: Minor Fix For: Sling Eclipse IDE 1.0.6
When synchronizing properties we check if the existing property type and the new property type match. If they don't we remove the existing property. However, AFAIU from the Javadocs we should not do that for PropertyType.UNDEFINED, as {quote}This constant can be used within a property definition (see 4.7.5 Property Definitions) to specify that the property in question may be of any type. However, it cannot be the actual type of any property instance. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)