[ 
https://issues.apache.org/jira/browse/JCR-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543882
 ] 

Bertrand Delacretaz commented on JCR-960:
-----------------------------------------

FWIW, I remember seeing similar problems with a MacOSX client, where the MacOSX 
finder seemed to have cached some WebDAV info, and used it event though it was 
stale.

As Ian observed, disconnecting and reconnecting the drive makes the problem go 
away.

If that happens again, I'll try go get an http dump to have a test case (or to 
blame OSX if it's doing things wrong).

> OSX Dav Client: Duplicate Folder of the same name
> -------------------------------------------------
>
>                 Key: JCR-960
>                 URL: https://issues.apache.org/jira/browse/JCR-960
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 1.3
>         Environment: OSX, JDK 1.5 running standard webdav webapp on a non 
> clustered JVM, SimpleDbPerisistanceManager on MySQL InnoDB with 
> read-committed transaction isolation
>            Reporter: Ian Boston
>            Priority: Minor
>         Attachments: create_second_new_folder.png, create_test1_folder.png, 
> remount_webdav_mount.png, rename_on_mac.log, rename_second_new_folder.png, 
> repository.xml
>
>
> 1. Deploy the standard JCR webapp war to tomcat
> 2. change the repository template to the attached (uses a 
> SimpleDbPersistanceManager connected to MySQL
> 3. go to http://localhost:8080/jcrdav/ and create a default repository
> 4. mount http://localhost:8080/jcrdav/repository/default in OSX Finder
> 5. Create a new Folder, initiallyt called "unnamed folder" 
> 6. rename to "test1"
> 7. Create a second new Folder
> At this point both folders become named "unnamed folder"
> 8. rename second folder to "test2"
> Both folders now named test2 (as per attached screen shot)
> 9. Browse in web browser to http://localhost:8080/jcrdav/repository/default/
> 2 folders, one named test1 and other named test2
> 10. Unmount OSX Finder mount and re-mount, test1 and test2 folders appear in 
> OSX finder, but steps 5-9 can be repeated again.
> Is this a problem with OSX Finder or something up with the JCR webdav 
> implementation or possibly something to do with the ItemState caches inside 
> the core ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to