Closed
Bug 1317777
Opened 9 years ago
Closed 9 years ago
REST API 1.0 - datetime inputs cause server error
Categories
(Bugzilla :: WebService, defect)
Bugzilla
WebService
Tracking
()
RESOLVED
FIXED
People
(Reporter: aleph00, Assigned: aleph00)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20161019084923
Steps to reproduce:
On the trunk call a "Core Api V1" api (rest.cgi interface) that has a datetime parameter in the query string such as :
HTTP GET On
/rest.cgi/bug/1/comment?include_fields=id%2Ccreation_time%2Ccreator%2Ctext&new_since=2016-11-14T23%3A46%3A39.304Z
Actual results:
Bugzilla server responds an HTTP 500 error : "Internal server Error"
Message in bugzilla logs:
"Can't locate object method "datetime_format_inbound" via package "Bugzilla::API::1_0::Server" at Bugzilla/API/1_0/Server.pm line 257
Expected results:
HTTP 200 response.
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Attachment #8810995 -
Flags: review?(dkl)
Updated•9 years ago
|
Assignee: webservice → aleph00
Comment 2•9 years ago
|
||
Comment on attachment 8810995 [details] [review]
[bugzilla] tvau:patch-1 > bugzilla:master
r=dkl
Attachment #8810995 -
Flags: review?(dkl) → review+
Comment 3•9 years ago
|
||
To https://github.com/bugzilla/bugzilla.git
b4a06dd..3fb30ab master -> master
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•