You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/11/23 14:37:58 UTC

[jira] [Commented] (SLING-6319) Installer sometimes deletes the wrong .ser files

    [ https://issues.apache.org/jira/browse/SLING-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15690263#comment-15690263 ] 

Bertrand Delacretaz commented on SLING-6319:
--------------------------------------------

And the test that validates this is at https://svn.apache.org/repos/asf/sling/trunk/installer/core/src/test/java/org/apache/sling/installer/core/impl/OsgiInstallerImplTest.java

> Installer sometimes deletes the wrong .ser files
> ------------------------------------------------
>
>                 Key: SLING-6319
>                 URL: https://issues.apache.org/jira/browse/SLING-6319
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Core 3.8.0
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> It looks like the logic used to delete the {{rsrc.getPrivateCopyOfFile()}} in {{OsgiInstallerImpl.registerResources}} is wrong and sometimes causes .ser files to be wrongly deleted.
> I'll commit a new {{OsgiInstallerImplTest}} that demonstrates this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)