Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4086

"svn: E175002: The POST request returned invalid XML" error

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • trunk
    • 1.7.x
    • mod_dav_svn
    • None

    Description

      If I create a repository to which apache has no OS write access then commits
      naturally fail.  The underlying error is:
      
       "Can't open file '.../db/txn-current-lock': Permission denied"
      
      but nothing gets logged in the apache error log.  The response returned to the
      client includes:
      
      <?xml version="1.0" encoding="utf-8"?>
      <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns">
      <D:(null)/>
      <m:human-readable errcode="13">
      could not begin a transaction
      </m:human-readable>
      </D:error>
      
      Note the "<D:(null)/>" which I think is invalid XML.
      
      With neon the client reports:
      
      svn: E175002: The POST request returned invalid XML in the response: XML parse
      error at line 3: error parsing attribute name
       (/obj/repo/!svn/me)
      
      and with serf the client reports:
      
      svn: E175002: POST request on '/obj/repo/!svn/me' failed: 500 Internal Server Error
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            philipm Philip Martin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment