The file data store is not synchronized
---------------------------------------

                 Key: SLING-2402
                 URL: https://issues.apache.org/jira/browse/SLING-2402
             Project: Sling
          Issue Type: Bug
          Components: Installer
    Affects Versions: Installer Core 3.3.2, Installer Core 3.3.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Installer Core 3.3.6


The current file data store is only partially synchronized. As sometimes can be 
seen in the BundleInstallUpgradeDowngradeTest#testRemoveAndReadd test:
1. a resource is added, copied into the file data store
2. this gets removed again
3. before it is finally removed, the same resource is added again
4. the file data store still has the pointer to the old file as it is unchanged 
and uses that
5. The file gets removed from the data store due to 2.
6. The resource from 3. is tried to be transformed, file is not available 
anymore -> failure

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to