Author: c.stafford
Description:
i was writing a bit of code to do a purge via the api, and i got an error message (which is unrelated to my problem)
array(1) {
["error"]=> array(2) { ["code"]=> string(61) "Only users with the 'purge' right can purge pages via the API" ["info"]=> string(9) "cantpurge" }
}
i noticed that the error code is in the info key, and the info string is the in code key.
does not seem to be related to the ApiPurge code, as i checked the debug from my apiwrite save page code, and i'm getting the same flipped format of error message
array(1) {
["error"]=> array(2) { ["code"]=> string(61) "You're not allowed to edit pages in the ``Article'' namespace" ["info"]=> string(18) "protectednamespace" }
}
Version: 1.14.x
Severity: enhancement