Wrap backtrace of UI warnings/notices in a details element

Created on 20 June 2020, about 4 years ago
Updated 3 October 2023, 9 months ago

Problem/Motivation

Having verbose error logging on is good for security as we see bad things soon, but screens full of backtraces are a PITA.

Which nudges us developers to develop without warnings and notices, which is bad and kills kittens.

Proposed resolution

Wrap backtraces in a details tag in UI error messages.

Remaining tasks

Make followups

User interface changes

Notices / Warnings are much more compact.

Before

After

API changes

None.

Data model changes

None.

Release notes snippet

If developer chooses to see verbose error messages in the UI, the backtraces are now wrapped in a details element.

Feature request
Status

Needs work

Version

11.0 🔥

Component
Base 

Last updated 1 minute ago

Created by

🇩🇪Germany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
  • Security improvements

    It makes Drupal less vulnerable to abuse or misuse. Note, this is the preferred tag, though the Security tag has a large body of issues tagged to it. Do NOT publicly disclose security vulnerabilities; contact the security team instead. Anyone (whether security team or not) can apply this tag to security improvements that do not directly present a vulnerability e.g. hardening an API to add filtering to reduce a common mistake in contributed modules.

  • 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