bosschaert commented on a change in pull request #32:
URL: 
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/32#discussion_r518742489



##########
File path: 
src/main/java/org/apache/sling/feature/cpconverter/handlers/XmlConfigurationEntryHandler.java
##########
@@ -65,13 +74,77 @@ protected void onJcrRootElement(String uri, String 
localName, String qName, Attr
 
                     if (attributeValue != null && !attributeValue.isEmpty()) {
                         DocViewProperty property = 
DocViewProperty.parse(attributeQName, attributeValue);
-
+                        Object value = property.values;
+                        List<String> strValues = 
Arrays.asList(property.values);
+                        switch (property.type) {
+                            case PropertyType.DATE:

Review comment:
       The JCR 
https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/javax/jcr/PropertyType.html
 contains more types than explicitly handled here. Are we sure that we cover 
all the ones we need?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to