Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get the multifield nodes from a component, with updated property name #207

Open
hiralvasa opened this issue Dec 20, 2023 · 1 comment

Comments

@hiralvasa
Copy link

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.

@hiralvasa
Copy link
Author

Hi @bstopp,

Could you please help me to understand how shall we handle such cases.
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant