Comments (3)
Nope, you are absolutely correct. That is a typo in the documentation. Addressing it now.
from aem-modernize-tools.
I see the confusion. Let me try to clarify:
rewriteMapProperties
Is a literal one-to-one swap of values.
In the example in the docs, there are three components in the content. But one rule will transform all three into new output.
And then it processes the next node:
Does this help?
from aem-modernize-tools.
Thanks, @bstopp. I actually understand how it works; I'm pointing out that if Two
maps to Middle
then the result should be
"rewriteMapPropertiesTwo": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "aem-modernize/components/rewritten",
"rewrite-map": "Middle"
},
but the docs say the result is
"rewriteMapPropertiesTwo": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "aem-modernize/components/rewritten",
"rewrite-map": "Second"
},
Note the rewrite-map
property. The output is inconsistent in the example—I think it was a typo.
from aem-modernize-tools.
Related Issues (20)
- The Java8 AEM65 all package is built for Java11 HOT 1
- Repository Exception when Rule deletes node
- Warning on Wizard node named "config"
- The set up page is down HOT 1
- RepoInit fails Cloud Manager pipelines
- Unable to use dialog converter tool HOT 2
- Component Conversion Deletes Subnodes HOT 2
- Page Conversion resulting in zero structure rules
- Request: Support Node names on Pattern Rules
- Make order.components value check as optional
- Tool throws error, but the session was still getting saved leading to partial conversion
- You do not have permissions, while scheduling Modernization tools -> component update job
- [Enhancement] Support to move content from page to Experience fragment
- Broken link in the documentation
- AEM Modernizer Tool is failing to convert page/structure in Chrome if the pages are 1000+ (Issue is only on Chrome) HOT 1
- Unable to get the multifield nodes from a component, with updated property name HOT 1
- [Enhancement] Support to convert AEM foundation forms to core component based AF HOT 2
- AEM Modernize Tool - Bucket List-Status - Not Found
- Infinite Loop if Rule doesn't change Node state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-modernize-tools.