- Assigned to jaydev bhatt
- 🇮🇳India jaydev bhatt Pune, Maharashtra
Issue Analysis: Form Validation in Content Type and Role Creation
I have thoroughly tested this reported issue in Drupal versions 10.4.1 and 11.1.1, focusing on two key scenarios:
1. Content Type Creation
- Access Path: /admin/structure/types/add
- Test Methodology: Attempted to create a content type with an empty "Name" field
- Observed Behavior:
* Form validation is handled through HTML5 attributes
* The system successfully prevents submission with empty required fields
* When a name is provided, the machine name is automatically generated2. Role Creation
- Access Path: /admin/people/roles/add
- Test Methodology: Attempted to create a role with an empty "Name" field
- Observed Behavior: Similar validation behavior as content type creationConclusion:
The reported issue is not reproducible in current versions. The form validation is functioning as expected through HTML5 form validation attributes, preventing submission of empty required fields.
Attaching a screenshot for the reference for the testing done on drupal 10.4.1 and 11.1.1Recommendation:
- Status can be updated to "Needs Review"
- If validation confirms these findings, status can be moved to "Ready to be Committed" (RTBC) - 🇮🇳India Kanchan Bhogade
I have manually tested issue on Drupal 11.x but Key is populated after validation failure on blank title.
Validation is already compatible for latest version
- 🇺🇸United States smustgrave
There's nothing to commit so odds are this can be closed out as outdated or unable to reproduce. Putting to PNMI for someone to provide steps if they are still seeing this issue before closing out.