- Issue created by @narendraR
- Status changed to Needs review
10 months ago 8:17am 22 May 2024 - First commit to issue fork.
- Status changed to RTBC
10 months ago 2:23pm 22 May 2024 - ๐บ๐ธUnited States smustgrave
Applied some nitpicky typehint return voids
Applied the MR to a 11.x install using standard profile
Believe the only entity_form_mode is for core.entity_form_mode.user.register
Ran updb and hook ran without issueManually downloaded config_inspector to 11.x setup and confirmed seeing fully validatable now
- Status changed to Needs work
10 months ago 12:57pm 23 May 2024 - ๐ฌ๐งUnited Kingdom catch
One issue with the presave hook on the MR - missing a deprecation notice.
- Status changed to Needs review
10 months ago 10:54am 27 May 2024 - Status changed to Needs work
10 months ago 2:42pm 27 May 2024 - Status changed to Needs review
10 months ago 7:04am 28 May 2024 - Status changed to RTBC
10 months ago 12:59pm 28 May 2024 - Status changed to Needs work
10 months ago 2:34pm 28 May 2024 - ๐ฌ๐งUnited Kingdom catch
One small comment on the deprecation message. Hard to fit this sort of thing into the standard format.
- Status changed to Needs review
9 months ago 4:07pm 28 May 2024 - Status changed to RTBC
9 months ago 4:20pm 28 May 2024 - Status changed to Needs review
9 months ago 9:53pm 28 May 2024 - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
Left one question on the MR, great work here - bit more involved with the update hook!
- ๐ฎ๐ณIndia narendraR Jaipur, India
This issue is ready for re-review. I have added the return FALSE. Thanks
- Status changed to Needs work
9 months ago 1:04pm 29 May 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
Looks okay but I have a couple of questions here.
- Status changed to Needs review
9 months ago 9:16am 3 June 2024 - Status changed to Needs work
9 months ago 2:49pm 3 June 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
Only one tiny thing and then I think this looks good.
- Status changed to Needs review
9 months ago 8:03am 5 June 2024 - Status changed to RTBC
9 months ago 1:45pm 10 June 2024 - ๐บ๐ธUnited States smustgrave
Applied MR on a standard install for 11.x with config inspector and getting all green checks.
Looking at MR 8135 and from what I can tell all feedback has been addressed.
- Status changed to Needs work
9 months ago 8:28am 27 June 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
If I go to admin/structure/display-modes/form/ and edit the user registration form and save the form mode with no description then the system_entity_form_mode_presave() will trigger a deprecation notice.
We need to add something to the form to convert empty strings to NULLs... normally we'd say use #config_target but we've not worked out how to using #config_target like stuff with config entities yet.
- Status changed to Needs review
8 months ago 12:40pm 3 July 2024 - Status changed to RTBC
8 months ago 7:21pm 3 July 2024 - ๐บ๐ธUnited States smustgrave
Tested the scenario in #21 has been addressed with https://git.drupalcode.org/project/drupal/-/merge_requests/8135/diffs?co...
- Status changed to Needs review
8 months ago 11:42pm 3 July 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
I'm not sure that a NULL description is any better then an empty string. Do we think that this part of the change is actually worth it?
- Status changed to Needs work
8 months ago 12:09pm 10 July 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Assigned to wim leers
- ๐บ๐ธUnited States phenaproxima Massachusetts
I'm not sure that a NULL description is any better then an empty string. Do we think that this part of the change is actually worth it?
I don't feel strongly one way or the other, so I'm assigning this to Wim for input. I suspect he has a clearer reason why NULL would be useful here.
- ๐ณ๐ฑNetherlands bbrala Netherlands
Going through the config issues a bit to see where things are hanging.
I read through all this, and have not seen any discussion around the NULL change. I understand the text in the CR ("The reason is because an empty string makes no sense for this field. "" is never a useful description of a form mode."). But I dont really see why this is as much better as it is a change.
If i try to argue why it should be null: Now i want no desription is equal to en empty description. This unfortunately meant he field is not really optional, when you wouldn't post an description you technically tend a NULL, which cannot be stored right now. But if we allow null, we would be able to save without the field, since null is fine.
This could have reasons in jsonapi, maybe we can then post without the field and make it null, instead of requiring an empty string?
This is as far as i get.
- ๐ณ๐ฑNetherlands bbrala Netherlands
Seems fixtures might need work. Not sure how those work.
- ๐ง๐ชBelgium borisson_ Mechelen, ๐ง๐ช
Found the tiniest of nitpicks, this is just a version number change in the deprecation, so leaving at rtbc.