Page MenuHomePhabricator

API: action=edit, Unknown error: \"content-not-allowed-here\"
Closed, ResolvedPublic

Description

{

"servedby": "mw1129",
"error": {
    "code": "unknownerror",
    "info": "Unknown error: \"content-not-allowed-here\""
}

}

When trying to change a page's content model to something that wasn't allowed.


Version: 1.24rc
Severity: normal

Details

Reference
bz70593

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:44 AM
bzimport set Reference to bz70593.

This is why I plan to kill ApiBase::dieUsageMsg, and generally rework the error reporting functions.

gerritadmin wrote:

Change 159237 had a related patch set uploaded by Alex Monk:
Add content-not-allowed-here to API message map

https://gerrit.wikimedia.org/r/159237

gerritadmin wrote:

Change 159237 merged by jenkins-bot:
Add content-not-allowed-here to API message map

https://gerrit.wikimedia.org/r/159237

(In reply to Brad Jorsch from comment #1)

This is why I plan to kill ApiBase::dieUsageMsg, and generally rework the
error reporting functions.

:DDD