Notice: Undefined index: entity_repeat_enabled in Drupal\entity_repeat\Plugin\Field\FieldWidget\EntityRepeatWidget::validateModularWidget() (line 88

Created on 18 March 2023, over 1 year ago
Updated 20 March 2023, over 1 year ago

When setting a group content relationship form widget to inline entity form instead of autocomplete the value for 'entity_repeat_enabled' is nested further down rather there where getvalue finds it with autocomplete.

array:8 [▼
  "entity_id" => array:1 [▼
    0 => array:1 [▼
      "inline_entity_form" => array:7 [▼
        "description" => array:1 [▶]
        "field_datestimes" => array:1 [▼
          0 => array:11 [▼
            "start" => Drupal\Core\Datetime\DrupalDateTime {#4932 ▶}
            "end" => Drupal\Core\Datetime\DrupalDateTime {#4942 ▶}
            "mode" => "weekly"
            "daily_count" => 1
            "weekdays" => array:7 [▶]
            "ordinals" => array:7 [▶]
            "time_zone" => "Australia/Sydney"
            "ends_mode" => "date"
            "ends_count" => "11"
            "ends_date" => Drupal\Core\Datetime\DrupalDateTime {#4936 ▶}
            "entity_repeat_enabled" => 1
🐛 Bug report
Status

Postponed: needs info

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @webberly
  • Status changed to Postponed: needs info over 1 year ago
  • 🇺🇸United States kyoder

    I'm sorry, I'm not sure how to reproduce, can you provide specific steps?

Production build 0.69.0 2024