ozeigermann    2004/07/15 06:46:21

  Modified:    src/webdav/server/org/apache/slide/webdav/util
                        VersioningHelper.java
  Log:
  Set the display name of the VHR to the name of the resource that gets
  versioned to make it a easier to find versions with clients
  that do not support DeltaV (like MS Explorer).
  
  Revision  Changes    Path
  1.104     +5 -4      
jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/VersioningHelper.java
  
  Index: VersioningHelper.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/VersioningHelper.java,v
  retrieving revision 1.103
  retrieving revision 1.104
  diff -u -r1.103 -r1.104
  --- VersioningHelper.java     24 Jun 2004 13:18:52 -0000      1.103
  +++ VersioningHelper.java     15 Jul 2004 13:46:21 -0000      1.104
  @@ -328,7 +328,8 @@
           vhrNrd.setLastModified( new Date() ); // P_GETLASTMODIFIED
           vhrNrd.setContentLength( 0 ); // P_GETCONTENTLENGTH
           vhrNrd.setETag( PropertyHelper.computeEtag(vhrUri, vhrNrd) ); // P_GETETAG
  -        vhrNrd.setName( vhrUh.getHistoryName() ); // P_DISPLAYNAME
  +//        vhrNrd.setName( vhrUh.getHistoryName() ); // P_DISPLAYNAME
  +        vhrNrd.setName( rNrd.getName() ); // P_DISPLAYNAME
           vhrNrd.setProperty(
               new NodeProperty(P_VERSION_SET, pHelp.createHrefValue(vrUri)) );
           vrNrd.setCreationDate( new Date() ); // P_CREATIONDATE
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to