Drupal never displays non-fatal error messages to the screen during Ajax requests

Created on 31 December 2014, over 10 years ago
Updated 10 April 2025, 4 months ago

If a PHP notice/warning/etc is triggered during an Ajax request, then even if the site is configured to display messages to the screen, it still won't display.

This seems like a bug to me.

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

ajax system

Created by

πŸ‡ΊπŸ‡ΈUnited States David_Rothstein

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

  • Needs manual testing

    The change/bugfix cannot be fully demonstrated by automated testing, and thus requires manual testing in a variety of environments.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This has been tagged for steps and issue summary. So moving to PNMI for that info.

  • πŸ‡¦πŸ‡ΊAustralia acbramley

    Trying to manually test this one but it's not clear to me how to generate a warning/info/notice message from a file upload.

    Generating an error is easy - just make the file directory non-writeable. Error messages are displayed correctly

    Given we've been waiting for proper steps to reproduce this since 2016, I wonder if we just close it for now?

Production build 0.71.5 2024