valtech / aem-easy-content-upgrade

AEM Easy Content Upgrade simplifies content migrations in AEM projects
Other
61 stars 26 forks source link

Add to printProperty() capability to print arrays. #113

Closed roxana-muresan closed 4 years ago

roxana-muresan commented 4 years ago

At the moment printProperty() called on a multivalue property prints the object toString. A pretty print of the arrays' elements should be returned.

gruberrolandvaltech commented 4 years ago

aecu .contentUpgradeBuilder() .forResources((String[])["/content/cq:tags"]) .printProperty("jcr:mixinTypes") .run()

roxana-muresan commented 4 years ago

Here's an output example: Running content upgrade DRY... jcr:mixinTypes = [Ljava.lang.String;@760a3add