XML-RPC service broken by bzr-2.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Windows Installers |
Confirmed
|
Critical
|
Bazaar Windows Team | ||
bzr-xmloutput |
Fix Released
|
High
|
Unassigned | ||
bzr-xmloutput (Debian) |
Fix Released
|
Unknown
|
|||
bzr-xmloutput (Ubuntu) |
Fix Released
|
High
|
Andrew Starr-Bochicchio |
Bug Description
Upgrading to bzr 2.1.0 breaks many of the features of bzr-java-lib when using the XmlRpcClient.
2.0.4
tests happy for both CommandLine and XmlRpcClient
2.1.0
CommandLine
testSearch() fails - but this test always uses XmlRpcClient regardless of preference.
XmlRpcClient produces 9 errors and 13 failures. All these failures appear to be due to the library not receiving any output via STDOUT.
Looks like the problem is to do with the code regarding streaming output.
Bisection reveals three thresholds at which the error profile changes :
1 x SilentUIFactory doesn't support make_output_stream (in testVersionInfo())
On revision 4792.8.4 (<email address hidden>):
Convert version-info to use TextUIOutputStream
3 x SilentUIFactory doesn't support make_output_stream (breaking most tests)
On revision 4792.8.9 (<email address hidden>):
Send Command.outf through UIFactory
9 errors and 13 failures start here (masks previous problems to an extent)
On revision 4797.170.1 (<email address hidden>):
SilentUIFactory now accepts make_output_stream and discards what is written
adrian@
Bazaar (bzr) 2.1.0
Python interpreter: /usr/bin/python 2.6.4
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Related branches
- Guillermo Gonzalez: Approve
-
Diff: 13 lines (+2/-1)1 file modifiedservice.py (+2/-1)
Changed in bzr-xmloutput: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in bzr-xmloutput: | |
status: | Confirmed → Fix Committed |
milestone: | none → 0.8.7 |
Changed in bzr-xmloutput (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → ubuntu-10.04-beta-2 |
Changed in bzr-xmloutput (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Andrew Starr-Bochicchio (andrewsomething) |
Changed in bzr-xmloutput (Debian): | |
status: | Unknown → Confirmed |
Changed in bzr-xmloutput (Debian): | |
status: | Confirmed → Fix Released |
Changed in bzr-windows-installers: | |
status: | New → Confirmed |
assignee: | nobody → Bazaar Windows Team (bzr-windows) |
Changed in bzr-xmloutput: | |
status: | Fix Committed → Fix Released |
Those affected by this bug can grab the latest trunk revision.
e.g.
cd ~/.bazaar/plugins
rm -rf xmloutput
bzr branch lp:bzr-xmloutput xmloutput