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

better serf error for failing anonymous lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • all
    • 1.10-consider
    • libsvn_ra_serf
    • None

    Description

      mod_dav_svn requires authn to be enabled for locking to be possible. If one
      attempts to lock with anonymous access then mod_dav_svn returns 401
      HTTP_UNAUTHORIZED. With 1.8 the client reports
      
      svn: warning: W120190: Error running context: An error occurred during
      authentication
      
      which doesn't give much of a clue as to the problem.
      
      With 1.7/neon the client reports
      
      svn: E175002: Server sent unexpected return value (401 Authorization Required)
      in response to LOCK request for '/obj/repo/A/f'
      
      which, although not great, is better as it includes both the 401 and the path.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: