Page MenuHomePhabricator

Page Curation can report error of "$1"
Open, Needs TriagePublic

Description

When playing with page creation on a local wiki several of my attempts to triage pages displayed a browser alert

An error occurred while marking the page as reviewed: $1

If you open the browser console's Net tab, the actual API error is

"error": {
    "code": "appendnotsupported",
    "info": "Can't append to pages using content model flow-board",
    "*": "See http://localhost/wiki/api.php for API usage"
}

Disregarding the circumstances of the error, the PageTriage JS should always provide a parameter and never display $1. The error handler function should use data.error.info if it is set, otherwise the internalerror message.

(The error circumstance here is T85030.)

Event Timeline

Spage raised the priority of this task from to Low.
Spage updated the task description. (Show Details)
Spage added a project: PageCuration.
Spage added a subscriber: Spage.
Spage updated the task description. (Show Details)Dec 23 2014, 6:41 AM
Spage set Security to None.
JJMC89 raised the priority of this task from Low to Needs Triage.Jun 6 2018, 12:50 AM
JJMC89 added a subscriber: JJMC89.

While stub-tagging a long series of one-line stubs about places in Chad that look like they were created by a script, I got the message An error occurred while marking the page as reviewed: $1 several times. Most problematic is that it marked the page as patrolled but did not add the tag.

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 2 2018, 10:34 AM