All users were logged out of Bugzilla on October 13th, 2018

Error when getting bug history

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
7 years ago
3 months ago

People

(Reporter: kupiec.w, Assigned: gerv)

Tracking

x86_64
Linux

Details

(Reporter)

Description

7 years ago
I get an exception when getting bug  history (http://localhost:3000/bug/113970/history):

in /tmp/bzapi.log I get:

Oct 25 17:16:39 [INFO]
.------------------------------------------------------------+-----------.
| Action                                                     | Time      |
+------------------------------------------------------------+-----------+
| Request                                                    | 1.310851s |
|  Bugzilla XML-RPC request: Bug.history                     | 0.001094s |
'------------------------------------------------------------+-----------'
Oct 25 17:16:39 [ERROR] Caught exception in Bugzilla::API::Controller::Bug->history "Can't use string ("Invalid date format: 20111025T15") as a HASH ref while "strict refs" in use at /var/www/bzapi/script/../lib/Bugzilla/API/Model/Utils.pm line 684."
Which database server are you using?

Gerv
(Reporter)

Comment 2

7 years ago
(In reply to Gervase Markham [:gerv] from comment #1)
> Which database server are you using?
> 
> Gerv

We use mysql
Try downgrading your copy of the BZ::Client Perl module to 1.03. The author recently released a new version with some changes to the date handling that I'd asked for, but I haven't had a chance to test them yet.

Gerv
kupiec: did my suggestion work?

Gerv
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE

Updated

3 months ago
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.