https://bz.apache.org/bugzilla/show_bug.cgi?id=69530
Bug ID: 69530 Summary: Major different between 10.1.31 and 10.1.34 (class file doLock Method) Product: Tomcat 10 Version: 10.1.34 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Servlet Assignee: dev@tomcat.apache.org Reporter: shekhar.suc...@thomsonreuters.com Target Milestone: ------ > Major different between 10.1.31 and 10.1.34 (webdavservlet class file doLock > Method) In 10.1.34 doLock Method of class WebdavSevlet : DocumentBuilder documentBuilder = getDocumentBuilder(); try { Document document = documentBuilder.parse(new InputSource(req.getInputStream())); // Get the root element of the document Element rootElement = document.getDocumentElement(); if (!"lockinfo".equals(getDAVNode(rootElement))) { resp.sendError(WebdavStatus.SC_BAD_REQUEST); return; } lockInfoNode = rootElement; lockCreation = true; } catch (IOException | SAXException e) { resp.sendError(WebdavStatus.SC_BAD_REQUEST); return; } } In 10.1.31 doLock Method of class WebdavSevlet : DocumentBuilder documentBuilder = getDocumentBuilder(); try { Document document = documentBuilder.parse(new InputSource(req.getInputStream())); // Get the root element of the document Element rootElement = document.getDocumentElement(); lockInfoNode = rootElement; } catch (IOException | SAXException e) { lockRequestType = LOCK_REFRESH; } In case of Exception occurred old version of tomcat doLock Method doing lockRequestType = LOCK_REFRESH; but in newer version it set error and return so lock refresh won;t done resp.sendError(WebdavStatus.SC_BAD_REQUEST); return; due to this reason document not editable in 10.1.34 tomcat and LOCK_REFRESH not done Can we have solution for this ?? -- 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