adobe / adobe/aem-modernize-tools
Unable to get the multifield nodes from a component, with updated property name
- Dominant language
- Java
- Stars
- 62
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Hi All,
I am unable to get the multifield nodes from a component with the updated property name.
### Expected Behaviour
While migrating components, the multifield nodes under it should also be added into the new migrated component, with the updated property name as well.
### Actual Behaviour
cq:copyChildren simply adds the children nodes as it, but there is no way to feed in the new property names which should replace the old property names from the children node.
This is a specific use case where the components have the multifield nodes (the number cannot be specified in the rewrite rules). Is there a way to copy the children nodes with the updated property names?
Thanks in advance for the answer! looking forward for the same.
Contributor guide
Research direction
Start by tracing cq:copyChildren through the component migration and rewrite-rule handling. Determine how multifield child nodes are copied and where updated property names could be supplied. Done means migrated components retain their multifield nodes with the requested property-name replacements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100