Closed
Bug 652505
Opened 13 years ago
Closed 13 years ago
XML-RPC API for adding comments is broken on b.m.o.
Categories
(bugzilla.mozilla.org :: General, defect)
bugzilla.mozilla.org
General
Tracking
()
RESOLVED
FIXED
People
(Reporter: gerv, Unassigned)
References
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
See the attached test file. The code works fine requesting a bug from my local install, but not from b.m.o.
The error string is:
"Application failed during request deserialization:
no element found at line 1, column 0, byte -1 at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm line 187
This is also the error BzAPI is getting back when it attempts to add comments (see bug 652452).
Gerv
Comment 1•13 years ago
|
||
This breaks bzexport, which is unfortunate:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/bzexport/
(Gerv: you didn't attach anything with your comment, AFAICT.)
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Comment 3•13 years ago
|
||
Ted: thanks - just attached the script.
It looks like it's this:
https://rt.cpan.org/Public/Bug/Display.html?id=58538
Can someone please hack bmo's SOAP::Lite?
Gerv
Updated•13 years ago
|
Attachment #528126 -
Attachment mime type: application/x-perl → text/plain
Reporter | ||
Comment 4•13 years ago
|
||
(Sidenote: is our new MIME type-guessing code being a big aggressive? Ted had to change the MIME type of the file I uploaded from application/x-perl to text/plain. I think we probably want a bunch of types like that to be guessed as text/plain...)
Gerv
Updated•13 years ago
|
Blocks: bmo-regressions
Comment 5•13 years ago
|
||
justdave, what version of SOAP::Lite is installed on BMO? I have SOAP::Lite 0.711 on my local system and comment attaching works for me. Are you using the rpm that comes with RHEL?
dkl
Comment 6•13 years ago
|
||
We're using 0.712 on b.m.o because:
[06:49:46] Checking for SOAP-Lite (v0.712) ok: found v0.712
checksetup.pl said we needed 0.712.
We used to be version-locked on 0.710 because 0.711 had a bug I don't remember the details of that was breaking stuff. Supposedly that bug got fixed in 0.712 and I assumed that was the reason Bugzilla was requiring it.
Comment 7•13 years ago
|
||
This is a blocker issue. It breaks a bunch of tools that our developers rely on, including but not limited to orange tracking facilities.
Severity: critical → blocker
Comment 8•13 years ago
|
||
I have a patched copy of perl-SOAP-Lite built, working on deploying it now.
Severity: blocker → critical
Comment 9•13 years ago
|
||
(In reply to comment #8)
> I have a patched copy of perl-SOAP-Lite built, working on deploying it now.
Deployed finally. Test away and see if that fixed it.
Comment 10•13 years ago
|
||
This is a test comment - please disregard
Comment 11•13 years ago
|
||
(In reply to comment #10)
> This is a test comment - please disregard
This worked using Bug.add_comment. Please reopen this if the problem still persists. Otherwise mark as VERIFIED.
dkl
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 12•13 years ago
|
||
XML-RPC Bug.get now works using my test script.
Gerv
Assignee | ||
Updated•13 years ago
|
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•