Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2739

RFC4918IfHeaderTest.testPutIfLockToken could fail with 412 Precondition Failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.2
    • 2.2
    • jackrabbit-webdav
    • None

    Description

      In org.apache.jackrabbit.webdav.server.RFC4918IfHeaderTest:110 (webdav-test),
      the lock request is initialized with a timeout of 1800 milliseconds, which is rounded as Timeout: Second-1 (at org.apache.jackrabbit.webdav.header.TimeoutHeader:46).

      The assertion in the finally block MUST fail (412, Precondition Failed) if the lock has expired (cf. RFC 4918, Section 10.4.10).

      The lock request should be initialized with a higher timeout, at least several seconds.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            rjgodoy Javier Godoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified