- last update
over 1 year ago Patch Failed to Apply 12:44 11:49 Running5:39 59:39 Running- @spokje opened merge request.
- Status changed to Needs review
over 1 year ago 2:02pm 13 September 2023 - 🇫🇷France andypost
Looks there's no way to remove it, so removal of todo probably is enough
- Status changed to RTBC
over 1 year ago 6:23pm 13 September 2023 - Status changed to Needs review
over 1 year ago 6:35am 14 September 2023 - 🇫🇮Finland lauriii Finland
It looks like even the typed data internals rely on the array access, like for example
\Drupal\Core\Config\TypedConfigManager::buildDataDefinition
. I guess if we could get rid of the typed data system not internally using array access, we could get a real list of test fails.If we decide that's not worth it, I wonder if we should remove the "This is for BC support only." comment too.
- Status changed to Needs work
over 1 year ago 8:49am 18 September 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Agreed with @lauriii.
I don't understand why it'd make sense to keep BC support forever and simply remove the
@todo
.Let's trigger a deprecation error and observe what fails?
- 🇳🇱Netherlands spokje
Let's trigger a deprecation error and observe what fails?
All patches in this issue did exactly that.
Result from #18: https://dispatcher.drupalci.org/job/drupal_patches/203233/#showFailuresLink
Test Result (2,578 failures / +2576)
20:13 15:30 Running- last update
over 1 year ago 21,036 pass, 2,708 fail - last update
over 1 year ago 29,703 pass, 115 fail - last update
over 1 year ago 29,722 pass, 111 fail - 🇫🇷France andypost
In MR I started deprecation, looks it also will need API addition
offsetUnset()
- has no usage in core but has not replacement even using definition's methods,
because, for exampleDataDefinition::setConstraints()
, require array so not useful to unset key in$this->definition
-
offsetGet()
is replaceable withtoArray()
, example fixes in commit - 🇫🇷France andypost
btw there's problem with
toArray()
- it is not defined by any interface(probably needs separate issue
- last update
over 1 year ago 30,168 pass - last update
over 1 year ago 21,399 pass, 2,538 fail - last update
over 1 year ago 30,168 pass 52:33 50:39 Running- Status changed to Needs review
over 1 year ago 1:18am 19 September 2023 - 🇫🇷France andypost
The only tricky place is
offsetSet()
which has only one usage in\Drupal\Core\Config\TypedConfigManager::buildDataDefinition()
which could be changedOTOH
createFromDataType()
has 5 overrides and could change signature to pass initial values so the raw setter is not needed - Status changed to RTBC
over 1 year ago 10:01am 19 September 2023 - last update
over 1 year ago 30,168 pass - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - 🇫🇮Finland lauriii Finland
Seems like this change was definitely planned to be made given the inline comment. Regardless of that it would be great to get a framework manager review on this. 😇
- Open on Drupal.org →Environment: PHP 8.2 & MySQL 8
57:01 57:01 Queueing - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - 🇬🇧United Kingdom catch
Couple of comments on the deprecation method itself but I think the overall change is fine. That we only have to update code in the config system and config_translation module suggests this won't affect a lot of contrib modules.
- Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - Open on Drupal.org →Environment: PHP 8.2 & MySQL 8
42:00 42:00 Queueing - Status changed to Needs work
over 1 year ago 2:59pm 9 October 2023 - 🇫🇮Finland lauriii Finland
Moving to needs work to get the feedback addressed.
- Status changed to Needs review
8 months ago 12:29pm 23 July 2024 - 🇫🇷France andypost
Rebased and squashed commits, updated deprecation wording and 10.4 core
maybe it should be deprecated in 11.1?
- 🇫🇷France andypost
Tests are green and looking at changes there are only properties
nullable
,translatable
,mapping
Also
mapping
property used to validaterequiredKey
so replaced with a hack to track changes in array processing, probably need Wim Leers to review - 🇫🇷France andypost
Updated to use
static::class
to get the real data-class name - Status changed to RTBC
7 months ago 3:13pm 12 August 2024 - 🇺🇸United States smustgrave
Reviewing the MR appears all threads have been addressed.
Deprecation appears to have test coverage.
Change record appears clear, also examples are always appreciated.
Believe this is ready.
- 🇬🇧United Kingdom longwave UK
In two minds whether we should even do this given we have multiple workarounds in this MR that look a bit weird, and we've had to add an explicit setter method.
- 🇬🇧United Kingdom catch
Moving back to needs review, looks like this needs more discussion.
- Status changed to Needs review
5 months ago 11:31am 20 October 2024 - 🇫🇷France andypost
I think we should do it anyway but amount of workarounds are debatable.
Glad to get more opinions
- 🇺🇸United States smustgrave
Think we missed the 11.1 window, mind updating to 11.2, feel free to ping me to re-look at.