aem-react-editable-components
aem-react-editable-components copied to clipboard
Unmapped components silently do nothing
trafficstars
Describe the bug If MapTo is not done between a component and a cqType, the Container component will not render it and no logging will be produced.
Package version 1.1.10
To Reproduce Steps to reproduce the behavior:
- Create some custom component
- Forget to MapTo between that component and the cqType or make a typo on it
- Include that component in a container
Expected behavior The component is not rendered and the developer gets some visual clue or a log line about what just happened, allowing the developer to suspect of only one or two probable causes.
Actual behavior The component is not rendered and the developer gets no visual clue nor a log line about what just happened, leaving the developer wondering about a wide variety of possible causes.