Page MenuHomePhabricator

JSON parse error from cxsave API error logging
Closed, ResolvedPublic

Description

Two instances of this error spotted in the error logging of cxsave 'save-failure' types

{"xhr":{"readyState":4,"responseText":"","status":200,"statusText":"OK"},"textStatus":"parsererror","exception":"SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON
timestampfromtitletotarget title
20160309055517enJohn La Fargecausuari:E
20160305172111enDancing in the Dark (Bruce Springsteen song)ca

Event Timeline

santhosh triaged this task as Medium priority.Mar 10 2016, 11:58 AM

Change 277190 had a related patch set uploaded (by Santhosh):
API cxsave: Prevent php error when target title object is null

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

Change 277190 merged by jenkins-bot:
API cxsave: Prevent php error when target title object is null

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