You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/05/25 10:02:13 UTC

[jira] [Commented] (KARAF-4538) Cellar bundle regex is way too "global" in command and MBean

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

ASF GitHub Bot commented on KARAF-4538:
---------------------------------------

GitHub user shyrkov opened a pull request:

    https://github.com/apache/karaf-cellar/pull/26

    KARAF-4538 - fixed pattern matching for the bundle symbolic name of bundles, matching the nameId

    There was a small mistake in the pattern matching code for "collecting" the bundles, matching nameId.
    The pattern was checked against the same string, in case the version of the searched bundles matches the target.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shyrkov/karaf-cellar master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf-cellar/pull/26.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #26
    
----
commit 1a7fd2c0caab215060e496d8df0ae27c06661bb9
Author: Sergiy Shyrkov <ss...@jahia.com>
Date:   2016-05-25T09:58:44Z

    KARAF-4538 - fixed pattern matching for the bundle symbolic name of bundles, matching the nameId

----


> Cellar bundle regex is way too "global" in command and MBean
> ------------------------------------------------------------
>
>                 Key: KARAF-4538
>                 URL: https://issues.apache.org/jira/browse/KARAF-4538
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-bundle, cellar-management, cellar-shell
>    Affects Versions: cellar-4.0.0, cellar-3.0.3
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: cellar-4.0.1, cellar-3.0.5
>
>
> When you manipulate bundle (stop, start, etc) on the cluster (using CellarBundleMBean or cluster:bundle* commands), it expects a bundle ID name/version. However, the pattern.find() is too aggressive and take unexpected bundles. 



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