https://bz.apache.org/bugzilla/show_bug.cgi?id=69361

            Bug ID: 69361
           Summary: Make error list report in WebdavServlet to be sent in
                    processing order
           Product: Tomcat 9
           Version: 9.0.95
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: micha...@apache.org
  Target Milestone: -----

When a COPY or DELETE on a collection is perfomed via WebdavServlet and some
resource fails here a map 'errorList' collects the actual errors for the
upcoming MULTI_STATUS response. Since the errorList is a hash map which does
not retain the processing order of COPY or DELETE, it returns first the failed
deletion of the collection the its resources although a post-order traversal is
performed.

To properly reflect the order of processing here we simply need to swap the
hash map for a linked hash map, that's it.

If no one objects I will change it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to