Subversion returns invalid XML when accessing property name containing '/' over http

Bug #203975 reported by Matt Nordhoff
36
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij
OcoMon CE
Invalid
Undecided
Unassigned
neon
New
Undecided
Unassigned
subversion
Confirmed
Medium
subvertpy
Invalid
Medium
Unassigned

Bug Description

$ bzr branch http://codespeak.net/svn/pypy/dist/
...
SubversionException: ("PROPFIND request failed on '/svn/!svn/bc/45181/pypy/dist'", 175002)
...

jelmer discovered that even svn has problems with that revision (and at least the next few):

$ svn ls -r 45181 http://codespeak.net/svn/pypy/dist
svn: PROPFIND request failed on '/svn/!svn/bc/45181/pypy/dist'
svn: PROPFIND of '/svn/!svn/bc/45181/pypy/dist': 207 Multi-Status (http://codespeak.net)

svn log works, though. It was a test commit from bzr-svn from July 2007; see https://code.launchpad.net/~mwhudson/pypy/bzr-svn .

bzr-svn 0.4 branch r953, bzr.dev r3297, Ubuntu Gutsy.

Revision history for this message
Matt Nordhoff (mnordhoff) wrote :
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is caused by the fact that a property with a "/" in the name was pushed to the repository (in revision 45181). Strangely enough this apparently wasn't a problem while setting the property but it is a problem while retrieving it.

Changed in bzr-svn:
assignee: nobody → jelmer
importance: Undecided → Medium
status: New → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 0.4.9
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This is actually a bug in Subversion's client or server, but it is being triggered by another bzr-svn bug.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: 0.4.9 → 0.4.10
Revision history for this message
Marc Ordinas i Llopis (marcoil) wrote :

I'm getting a similar problem:

bzr branch svn+http://svn.webkit.org/repository/webkit/trunk trunk
bzr: ERROR: libsvn._core.SubversionException: ("PROPFIND request failed on '/repository/webkit/!svn/vcc/default'", 175002)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 927, in run
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/remote.py", line 76, in sprout
    result_repo.fetch(repo, revision_id=revision_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 949, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 704, in fetch
    self._fetch_switch(needed, pb, lhs_parent)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 629, in _fetch_switch
    editor.start_revision(revid, parent_inv)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/fetch.py", line 99, in start_revision
    self.svn_revprops = self.source._log._get_transport().revprop_list(self.revnum)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/errors.py", line 119, in convert
    raise convert_error(e)
SubversionException: ("PROPFIND request failed on '/repository/webkit/!svn/vcc/default'", 175002)

bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'svn+http://svn.webkit.org/repository/webkit/trunk', 'trunk']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'ca_AD.UTF-8'
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [0.4.9]
*** Bazaar has encountered an internal error.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: 0.4.10 → 0.5.0
Jelmer Vernooij (jelmer)
Changed in ocomon-ce:
status: New → Invalid
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Marc, I think that is a different issue than this bugreport. Can you reproduce it with bzr-svn 0.5?

Changed in subvertpy:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Marking as fix released for bzr-svn, as it no longer causes this bug. Subvertpy doesn't parse the property names correctly yet though.

Changed in bzr-svn:
status: Triaged → Fix Released
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

*subversion* doesn't parse the property names correctly yet though.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :
Jelmer Vernooij (jelmer)
Changed in subversion:
importance: Undecided → Unknown
status: New → Unknown
Changed in subversion:
status: Unknown → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

closing subvertpy task, this is a subversion bug

Changed in subvertpy:
status: Triaged → Invalid
Max Bowsher (maxb)
summary: - PROPFIND failed branching http://codespeak.net/svn/pypy/dist/
+ Subversion returns invalid XML when accessing property name containing
+ '/' over http
Revision history for this message
Max Bowsher (maxb) wrote :

Link to correct bug.

Changed in subversion:
status: Confirmed → Unknown
Changed in subversion:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Edmundo (eantoranz) wrote :

what version of svn is producing this problem? Or which isn't?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This happens with all versions of subversion as far as I know - see the linked bug report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.