[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method AbstractWebdavMethod.java
From:       luetzkendorf () apache ! org
Date:       2004-06-28 16:32:08
Message-ID: 20040628163208.1067.qmail () minotaur ! apache ! org
[Download RAW message or body]

luetzkendorf    2004/06/28 09:32:08

  Modified:    src/webdav/server/org/apache/slide/webdav/method
                        AbstractWebdavMethod.java
  Log:
  add a fix for deltav testcase VcPutVHR
  (dont know when this failure was introduced)
  
  Revision  Changes    Path
  1.33      +8 -3      \
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java
  
  Index: AbstractWebdavMethod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- AbstractWebdavMethod.java	24 Jun 2004 13:18:52 -0000	1.32
  +++ AbstractWebdavMethod.java	28 Jun 2004 16:32:08 -0000	1.33
  @@ -53,6 +53,7 @@
   import org.apache.slide.content.NodeRevisionContent;
   import org.apache.slide.content.NodeRevisionDescriptor;
   import org.apache.slide.content.NodeRevisionDescriptors;
  +import org.apache.slide.content.RevisionDescriptorNotFoundException;
   import org.apache.slide.lock.Lock;
   import org.apache.slide.lock.NodeLock;
   import org.apache.slide.lock.UnlockListener;
  @@ -352,6 +353,10 @@
                           structure.remove(slideToken, node);
                       }
                   } catch (ObjectNotFoundException onfe) {
  +                } catch (RevisionDescriptorNotFoundException e) {
  +                   // this happens e.g. if some one tries to create a resource
  +                   // in the history that looks like a version 
  +                   // e.g. PUT /history/221/7.1 (cf VcPutVHR)
                   }
               }
               
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic