- Issue created by @Odai Atieh
- Status changed to Needs review
about 2 years ago 2:27pm 7 March 2023 - First commit to issue fork.
- Merge request !17Issue #3346504: Can't save a template if I used long label β (Merged) created by matthijs
- Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Waiting for branch to pass - π§πͺBelgium matthijs
The PR changes the maxlength of the label textfield to 50 instead of altering the field definition like the patch does.
I've hidden the patch because it deletes all existing entities during the update hook, which looks dangerous to me. - Open on Drupal.org βCore: 10.0.7 + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Waiting for branch to pass - π§πͺBelgium weseze
It's probably much easier to just change the allowed length on the label fields, rather then changing the schema and existing field.
See attached patch. - π§πͺBelgium matthijs
@weseze: maybe update the merge request as well with your change to AddSectionToLibraryForm.
- πΊπΈUnited States jastraat
This is still an issue; I like the idea of simply updating the max length on the form fields.
- πΊπΈUnited States jastraat
Tested setting the max length of 50 to match the entity definition on the two add form label fields. This prevents users from entering a label that is too long. Updated the merge request to reflect updating both add forms.
-
jastraat β
committed d3d91fa1 on 1.2.x authored by
matthijs β
Issue #3346504 by matthijs, jastraat, odai atieh, weseze: Add forms...
-
jastraat β
committed d3d91fa1 on 1.2.x authored by
matthijs β
Automatically closed - issue fixed for 2 weeks with no activity.