Open Bug 1606458 Opened 6 years ago Updated 6 years ago

Error 100500 when GET bug_user_last_visit

Categories

(Bugzilla :: WebService, defect)

5.0.4
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: michael, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

curl http://bugzilla.domain.tld/rest/bug_user_last_visit/(id)?api_key=(secret)

Actual results:

HTTP 200 OK

"{"error":true,"documentation":"https://bugzilla.readthedocs.org/en/5.0/api/\",\"message\":\"Can't locate object method \"id\" via package \"43667\" (perhaps you forgot to load \"43667\"?) at Bugzilla/WebService/BugUserLastVisit.pm line 78.\n","code":100500}"

Expected results:

HTTP 200 OK

[{"id":(id),"last_visit_ts":"(timestamp)"}]

This patch resolved the issue. Thanks to Thorsten Schöning.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: