Errors such as "Views Json Query: ..." show to all users even if the checkbox "Show Json errors" is off.

Working on a patch.

Comments

vacilando’s picture

Patch added. It uses the value of the "Show Json errors" checkbox to determine whether the error message is shown.

vacilando’s picture

Status: Active » Needs review
marcofernandes’s picture

Patch added to 7.x-1.x dev.
Thank you for your work.

marcofernandes’s picture

Status: Needs review » Closed (fixed)
rp7’s picture

Still some errors appearing, after parsing (eg. "The maximum stack depth has been exceeded", "Invalid or malformed JSON", ...).

I attached a second patch (against current dev), to prevent these errors as well.

rp7’s picture

Status: Closed (fixed) » Needs review