Problem/Motivation

At this moment, the error handler is catching all errors that are more important than a notice. In order to implement #2775205: [PP-2] [FEATURE] Discus how to make JSON API use text input formats for long text fields we need to be able to accept notices created by Drupal\Component\Utility\HTML::load().

Proposed resolution

Raise an exception for errors more important than notices.

Remaining tasks

Write a patch.

User interface changes

None

API changes

None

CommentFileSizeAuthor
#2 2792389-2.patch1.07 KBdagmar

Comments

dagmar created an issue. See original summary.

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB

Here is the patch.

dagmar’s picture

Issue summary: View changes
dagmar’s picture

Issue summary: View changes
e0ipso’s picture

Status: Needs review » Reviewed & tested by the community

I'll be merging this asap.

Thanks @dagmar!

  • e0ipso committed a932423 on 8.x-1.x authored by dagmar
    Issue #2792389 by dagmar: [BUGFIX] Error handler makes impossible fix #...
e0ipso’s picture

Status: Reviewed & tested by the community » Fixed

Merged.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.