- Issue created by @berdir
- Status changed to Needs review
about 1 year ago 2:52pm 11 October 2023 - last update
about 1 year ago 30,392 pass - 🇨ðŸ‡Switzerland berdir Switzerland
I reverted one core test to use the old key to see if this works but more will be necessary or we decide to revert more/all?
- 🇫🇮Finland lauriii Finland
Thanks @Berdir! This will definitely help other contrib to become Drupal 10.2 compatible and helps with the multi branch compatibility.
I don't think we need to convert all the uses. Maybe we could convert something a bit more involved like
\Drupal\Tests\field_ui\Functional\ManageFieldsLifecycleTest
so that the only usage doesn't get removed accidentally? - 🇺🇸United States smustgrave
So question, is one way preferred more then another? Should the least preferred one throw a warning or deprecation?
- last update
about 1 year ago 30,397 pass - 🇨ðŸ‡Switzerland berdir Switzerland
ManageFieldsLifecycleTest doesn't use storage settings. It really is something that's not used a lot, there aren't many storage settings anyway and usually the defaults are fine, at least for tests (Quite a few storage settings IMHO shouldn't be, like most/all things on file/image.
Only found 4 cases in core that set storage settings, 3x it's a field type specific setting and a single case to set the cardinality. I assume there are more cardinality tests, but they are then more involved and don't use the helper.
I just converted all of them, then we can say it's standardized on not including the prefix but doing so will still work. I hope we can avoid a complex deprecation dance or warning or anything like that, it would result in considerable extra complexity and make it much harder to get into core in time for 10.2.
- Status changed to RTBC
about 1 year ago 6:38pm 14 October 2023 - 🇺🇸United States smustgrave
Suppose we could always open a follow up if we ever cared about deprecating the other way.
- last update
about 1 year ago 30,412 pass -
lauriii →
committed 2771a312 on 11.x
Issue #3393338 by Berdir, smustgrave: Provide backwards-compatibility...
-
lauriii →
committed 2771a312 on 11.x
-
lauriii →
committed b6a81b73 on 10.2.x
Issue #3393338 by Berdir, smustgrave: Provide backwards-compatibility...
-
lauriii →
committed b6a81b73 on 10.2.x
- Status changed to Fixed
about 1 year ago 8:56am 18 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.