Closed
Bug 733699
Opened 13 years ago
Closed 13 years ago
/history and /comment uris gives 500 internal server error
Categories
(Webtools Graveyard :: BzAPI, defect)
Webtools Graveyard
BzAPI
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 746038
People
(Reporter: jon.skarpeteig, Assigned: gerv)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356
Steps to reproduce:
Clean install of Bugzilla 3.6.8 + BzAPI 1.1 - started up ./script/bugzilla_api_server.pl - browsed to /bug/1/history
It appears there's a problem with DateTime parsing, I was able to make it run by introducing the following hack to bugzilla itself:
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm index 2ba8e92..1af019a 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -37,6 +37,7 @@ sub login_exempt {
sub type {
my ($self, $type, $value) = @_;
if ($type eq 'dateTime') {
+ $type='string';
$value = $self->datetime_format_outbound($value);
}
return XMLRPC::Data->type($type)->value($value);
Actual results:
Internal server error
Expected results:
This should probably be fixed properly.
Assignee | ||
Comment 1•13 years ago
|
||
I suspect this is because the author of BZ::Client has changed the DateTime parsing, and I haven't updated BzAPI to cope with it.
Can you tell me what version of BZ::Client you are using?
perl -MBZ::Client -e 'print "$BZ::Client::VERSION\n"'
If you are not using 1.03, try downgrading to 1.03.
Gerv
Reporter | ||
Comment 2•13 years ago
|
||
I'm using 1.04 (installed from CPAN)
Assignee | ||
Comment 3•13 years ago
|
||
Try 1.03 :-)
Gerv
Assignee | ||
Comment 4•13 years ago
|
||
Jon: ping? Did 1.03 work?
Gerv
Assignee | ||
Comment 5•13 years ago
|
||
Resolving due to lack of input from reporter.
Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Reporter | ||
Comment 6•13 years ago
|
||
Don't see how that's relevant? :P Should be easy to reproduce.
Status: RESOLVED → UNCONFIRMED
Resolution: INCOMPLETE → ---
Assignee | ||
Comment 7•13 years ago
|
||
Jon: I'm not ignoring the problem. If the problem is what I think it is, then it's a duplicate of bug 746038.
Gerv
Assignee | ||
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•