Problem/Motivation

We want to send notices and warnings in the response if the user has the appropriate permissions to access them. This is blocked by #2738269: [FEATURE] Implement expected error format for JSON API.

Proposed resolution

Accumulate all errors in the "errors" document root array according to JSON API. Follow the same principles introduced in #2738269: [FEATURE] Implement expected error format for JSON API.

Build an array of warnings and notices and add them in the RequestHandler after the $response has been generated.

Comments

e0ipso created an issue. See original summary.

e0ipso’s picture

This is now closer because we got the Partial Success spec in via #2778627: [BUGFIX] Check for individual entity access in listings.

e0ipso’s picture

Status: Active » Closed (won't fix)

I no longer think this is such a great idea, since it will be hard to cache based on the PHP ini display errors setting + user permissions + …

Closing as won't fix.