FieldConfigEditForm::save should report exceptions using warning or error messages

Created on 4 February 2024, 7 months ago
Updated 14 March 2024, 6 months ago

Currently the exception is rendered using status message which gives a false impression that everything is Ok.

catch (\Exception $e) {
  $this->messenger()->addStatus(
    $this->t(
      'Attempt to update field %label failed: %message.',
      [
        '%label' => $this->entity->getLabel(),
        '%message' => $e->getMessage(),
      ]
    )
  );
}
๐Ÿ› Bug report
Status

Fixed

Version

10.2 โœจ

Component
Field UIย  โ†’

Last updated 5 days ago

Created by

๐Ÿ‡ท๐Ÿ‡บRussia Chi

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024