Closed Bug 1317777 Opened 9 years ago Closed 9 years ago

REST API 1.0 - datetime inputs cause server error

Categories

(Bugzilla :: WebService, defect)

defect
Not set
major

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.
Severity: normal → major
Attachment #8810995 - Flags: review?(dkl)
Assignee: webservice → aleph00
Comment on attachment 8810995 [details] [review] [bugzilla] tvau:patch-1 > bugzilla:master r=dkl
Attachment #8810995 - Flags: review?(dkl) → review+
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.

Attachment

General

Created:
Updated:
Size: