- Issue created by @tonytheferg
- Status changed to Needs review
12 months ago 7:50am 28 July 2024 - Status changed to Needs work
11 months ago 10:56am 9 August 2024 - 🇩🇪Germany Anybody Porta Westfalica
@saurabhkanva please provide the fix as MR!
- First commit to issue fork.
- 🇩🇪Germany Grevil
I don't understand, how this fixes the issue?
$data[$entity_type->getBaseTable()][$table_name . '__views_order_by_delta'] = [...]
already creates
$data[$entity_type->getBaseTable()]
automatically. - 🇩🇪Germany Anybody Porta Westfalica
I have to agree with @grevil.
This is btw line 25 (since 3 years):
foreach ($entity_field_manager->getFieldStorageDefinitions($entity_type_id) as $field) {
https://git.drupalcode.org/issue/views_order_by_delta-3382073/-/blob/338...Wondering how the Undefined array key can appear there?
- 🇩🇪Germany Grevil
@anybody, my exact thought as well, but I just found the reason.
3.x is still in alpha for some reason, so he was still using 8.x-2.x, where this exact behavior can happen, see https://git.drupalcode.org/project/views_order_by_delta/-/blob/8.x-2.x/v....
@saurabhkanva please use 3.0.0-alpha1, which should fix the issue.