You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/09/10 15:56:57 UTC

[jira] Created: (SLING-1106) Updating bundle through web console results in bundle installed twice after restart

Updating bundle through web console results in bundle installed twice after restart
-----------------------------------------------------------------------------------

                 Key: SLING-1106
                 URL: https://issues.apache.org/jira/browse/SLING-1106
             Project: Sling
          Issue Type: Bug
          Components: JCR Install
            Reporter: Carsten Ziegeler


I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
Now I want to update this bundle to a snapshot version using the web console
After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

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


[jira] Closed: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1106.
-----------------------------------


> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Installer 3.0.0
>
>         Attachments: ContextBundleUpdateTest.java.patch
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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


[jira] Commented: (SLING-1106) JCR Install prevents update of bundle through other channels like the web console

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758157#action_12758157 ] 

Carsten Ziegeler commented on SLING-1106:
-----------------------------------------

The workaround is to disable jcr install

> JCR Install prevents update of bundle through other channels like the web console
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Blocker
>
> I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
> Now I want to update this bundle to a snapshot version using the web console
> After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

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


[jira] Updated: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-1106:
---------------------------------------

    Description: 
When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 

Example:
JCR Install install Bundle A Version 1
Web console updates Bundle A to Verson 2
JCR Install downgrades Bundle A to Version 1

(issue mentioned two distinct problems, moved first one to SLING-1147)

  was:
I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
Now I want to update this bundle to a snapshot version using the web console
After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

       Priority: Minor  (was: Blocker)
        Summary: jcrinstall downgrades bundle installed via web console  (was: JCR Install prevents update of bundle through other channels like the web console)

> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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


[jira] Assigned: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz reassigned SLING-1106:
------------------------------------------

    Assignee: Bertrand Delacretaz

> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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


[jira] Updated: (SLING-1106) JCR Install prevents update of bundle through other channels like the web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-1106:
---------------------------------------

    Fix Version/s:     (was: JCR Install 2.0.4)
                   JCR Installer 3.0.2

> JCR Install prevents update of bundle through other channels like the web console
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Blocker
>             Fix For: JCR Installer 3.0.2
>
>
> I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
> Now I want to update this bundle to a snapshot version using the web console
> After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

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


[jira] Updated: (SLING-1106) JCR Install prevents update of bundle through other channels like the web console

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1106:
------------------------------------

    Fix Version/s: JCR Install 2.0.4

> JCR Install prevents update of bundle through other channels like the web console
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Blocker
>             Fix For: JCR Install 2.0.4
>
>
> I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
> Now I want to update this bundle to a snapshot version using the web console
> After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

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


[jira] Updated: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-1106:
---------------------------------------

    Comment: was deleted

(was: Another scenario: when you update a bundle which has been installed by jcr install through another channel like the web console, the bundle 
gets immediately replaced by the version from jcr install. Example
JCR Install install Bundle A Version 1
Web console updates Bundle A to Verson 2
JCR Install "updates" Bundle A to Version 1)

> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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


[jira] Updated: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz updated SLING-1106:
---------------------------------------

    Attachment: ContextBundleUpdateTest.java.patch

Test case which demonstrates the problem, not committed as it currently fails

> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>         Attachments: ContextBundleUpdateTest.java.patch
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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


[jira] Updated: (SLING-1106) JCR Install prevents update of bundle through other channels like the web console

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-1106:
------------------------------------

    Priority: Blocker  (was: Major)
     Summary: JCR Install prevents update of bundle through other channels like the web console  (was: Updating bundle through web console results in bundle installed twice after restart)

Another scenario: when you update a bundle which has been installed by jcr install through another channel like the web console, the bundle 
gets immediately replaced by the version from jcr install. Example
JCR Install install Bundle A Version 1
Web console updates Bundle A to Verson 2
JCR Install "updates" Bundle A to Version 1

> JCR Install prevents update of bundle through other channels like the web console
> ---------------------------------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Priority: Blocker
>
> I have a bundle with version 2.0.5-tlp-SOMETHING in the repo (/libs/sling/install)
> Now I want to update this bundle to a snapshot version using the web console
> After a restart, both versions are active - the one updated through the web console and the one from the libs folder in the repository.

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


[jira] Resolved: (SLING-1106) jcrinstall downgrades bundle installed via web console

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-1106.
----------------------------------------

    Resolution: Fixed

Fixed in revision 825404, which includes the attached test case

> jcrinstall downgrades bundle installed via web console
> ------------------------------------------------------
>
>                 Key: SLING-1106
>                 URL: https://issues.apache.org/jira/browse/SLING-1106
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Carsten Ziegeler
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: JCR Installer 3.0.2
>
>         Attachments: ContextBundleUpdateTest.java.patch
>
>
> When you update a bundle which has been installed by jcr install through another channel like the web console, the bundle gets immediately replaced by the version from jcr install. 
> Example:
> JCR Install install Bundle A Version 1
> Web console updates Bundle A to Verson 2
> JCR Install downgrades Bundle A to Version 1
> (issue mentioned two distinct problems, moved first one to SLING-1147)

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