Add logging to LinkFormatter and LinkWidget when the URL is invalid

Created on 14 March 2023, over 1 year ago
Updated 22 December 2023, 6 months ago

Problem/Motivation

Follow up from πŸ› Uncaught exception in link formatter if a link field has malformed data Fixed - the question of whether we should log an error was brought up πŸ› Uncaught exception in link formatter if a link field has malformed data Fixed but there are some differing opinions.

Also following up from πŸ› Link-widget throws exception when rebuilding a form with an invalid uri Fixed and whether to log error from the widget when a user without "link to any page" permissions tries to edit an entity with a malformed link URI.

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
LinkΒ  β†’

Last updated about 14 hours ago

Created by

πŸ‡¦πŸ‡ΊAustralia acbramley

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024