- Merge request !3015Issue #2448545: Convert '_none' option to a constant and deprecate form_select_options() โ (Open) created by bhanu951
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - Status changed to Needs review
over 1 year ago 6:32am 4 July 2023 - Status changed to Needs work
over 1 year ago 7:10am 4 July 2023 The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch 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.
- last update
about 1 year ago Patch Failed to Apply - First commit to issue fork.
- ๐ฌ๐ทGreece dimitriskr
Rebased branch to 11.x, but getting some Functional tests failures
- Status changed to Needs review
11 months ago 11:50am 4 January 2024 - Status changed to Needs work
11 months ago 3:33pm 5 January 2024 - ๐บ๐ธUnited States smustgrave
Title + MR title mention deprecating form_select_options but that doesn't appear to be the case.
- ๐ฌ๐ทGreece dimitriskr
You're right, I'll put it back with the trigger_error.
Shall I create a new CR for the deprecation or add it to the current draft? - ๐บ๐ธUnited States smustgrave
Lets do a new one for the deprecation.
Current one could use some love but think adding a constant deserves to be separate.
- ๐ฌ๐ทGreece dimitriskr
OK. And one more question. Is
core/tests/Drupal/KernelTests/Core/Form
a good place to put the deprecation test? - ๐บ๐ธUnited States smustgrave
Think that should be good since the function isn't in a module. Least I can't think of a better spot
- ๐ฌ๐ทGreece dimitriskr
Don't the new methods need tests for themselves?
- ๐ฌ๐ทGreece dimitriskr
dimitriskr โ changed the visibility of the branch 11.x to hidden.
- ๐ฌ๐ทGreece dimitriskr
dimitriskr โ changed the visibility of the branch 9.5.x to hidden.
- Status changed to Needs review
10 months ago 1:47pm 15 January 2024 - ๐ฌ๐ทGreece dimitriskr
Please ignore the change in .gitlab-ci.yml, which is for debugging purposes, all other changes and reported feedback are ready for this issue
- Status changed to Needs work
10 months ago 8:05pm 17 January 2024 - ๐ฌ๐ทGreece dimitriskr
Thanks @smustgrave.
Moreover in ๐ Deprecate form_get_options() Closed: duplicate it was proposed to removeform_get_options()
as there is no usage in core and (then) in contrib. We need to see if we still want to do that here - ๐ฌ๐ทGreece dimitriskr
In https://drupal.slack.com/archives/C1BMUQ9U6/p1707853736065729 , catch agreed to remove form_get_options() completely
- Status changed to Needs review
7 months ago 1:56pm 10 April 2024 - Status changed to Needs work
7 months ago 2:28pm 10 April 2024 The Needs Review Queue Bot โ tested this issue. It fails the Drupal core commit checks. 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.
- Status changed to Needs review
7 months ago 2:48pm 10 April 2024 - Status changed to Needs work
7 months ago 9:31pm 13 April 2024 - ๐บ๐ธUnited States smustgrave
Still appears to have some open threads in the test. But rest is looking real good.
- ๐ฎ๐ณIndia keshav patel
Keshav Patel โ made their first commit to this issueโs fork.
- First commit to issue fork.
- ๐ฎ๐ณIndia bhanu951
Fixed Tests and updated depreciations.
Seems its ready for review.