Closed Bug 700634 Opened 13 years ago Closed 12 years ago

Error when getting bug history

Categories

(Webtools Graveyard :: BzAPI, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: kupiec.w, Assigned: gerv)

Details

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
(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
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.