- Issue created by @mayur-sose
- ๐บ๐ธUnited States traviscarden
We're going to break this into multiple issues. Marked postponed until we get a chance to do so.
This issue replaced with below issues:
While adding components, I encountered the following issues:
1) Duplicate Component Names:
I was able to add a component with the same name as an existing one, resulting in multiple components with identical names.
However, when I attempted to add another component with the same name, a JavaScript error was thrown:
'js_component' entity with ID 'hero' already exists.
2) Special Character Restriction in Component Names:
When trying to create a component with an apostrophe or special characters in its name, the system displayed an error:
- [id] Does not match the regex pattern ^[a-z]([a-zAโฆregex pattern ^[a-z]([a-zA-Z0-9_-]*[a-zA-Z0-9])*$
- The "who's_this" machine name is not valid.
3) Conflict with Dynamic Components:
When attempting to add 2nd component with the same name as a dynamic component (e.g., 'breadcrumb'), the following error occurred :
'js_component' entity with ID 'breadcrumb' already exists.
- The system should prevent duplicate component names upon the first attempt.
- Proper validation should be in place to allow meaningful names while ensuring compliance with system requirements.
- Error messages should be more user-friendly and clearly indicate what needs to be corrected.
Active
0.0
Page builder
We're going to break this into multiple issues. Marked postponed until we get a chance to do so.
This issue replaced with below issues: