Created on 2 February 2024, 8 months ago
Updated 22 February 2024, 7 months ago

We have some errors in our tests related to submitting new fields - $this->submitForm($params, 'Save and continue');.

To fix it we should create new fields:

$field_storage = FieldStorageConfig::create([
  'field_name' => 'field_test',
  'entity_type' => 'test_entity',
  'type' => 'test_field_type',
]);
$field_storage->save();

$field = FieldConfig::create([
  'field_name' => 'field_test',
  'entity_type' => 'test_entity',
  'bundle' => 'test_content',
  'label' => 'Test',
]);
$field->save();

here is a Change record β†’ related to the issue.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine AstonVictor

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024