Closed
Bug 1774872
Opened 2 years ago
Closed 2 years ago
XMLRPC Error "->type(dateTime, undef) called from Bugzilla::WebService::User line 299"
Categories
(bugzilla.mozilla.org :: API, defect)
bugzilla.mozilla.org
API
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
Details
Attachments
(1 file)
Due to bug 1461400 bugzilla logs an error when it encounters a timestamp that is undefined when returning data via the REST API.
The bug does not describe why this is necessary and afaict there is nothing technically wrong with datetime attributes being null.
When user data is retrieved via the REST API and for example there last_seen_date in the DB is null, then an error is logged to Sentry and they are filling up. The last_seen_date was added later in BMOs history and older accounts who have not logged in since the field was added then the value will be NULL.
I will remove the code that logs the error as the REST API endpoint still works either way,
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Note: Only happens for XMLRPC calls which apparently some clients still use :(
Summary: [Bugzilla.WebService.Server.XMLRPC] ->type(dateTime, undef) called from Bugzilla::WebService::User line 299 → XMLRPC Error "->type(dateTime, undef) called from Bugzilla::WebService::User line 299"
Assignee | ||
Comment 3•2 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•