You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2017/01/23 13:57:26 UTC

[jira] [Commented] (FELIX-5483) It's impossible to stop bundle using symbolic name if some installed bundle does not have symbolic name

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

David Bosschaert commented on FELIX-5483:
-----------------------------------------

The patch seems ok to me but AFAIK a bundle must always have a symbolic name, so I'm a little curious when you ever encounter one without it?

> It's impossible to stop bundle using symbolic name if some installed bundle does not have symbolic name
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-5483
>                 URL: https://issues.apache.org/jira/browse/FELIX-5483
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Shell
>            Reporter: Alexandra Vasilyeva
>              Labels: patch-available
>         Attachments: ifSymbolicNameNull.diff
>
>
> If some installed bundle does not have symbolic name, it's impossible to stop any bundle by symbolic name: error "gogo: IllegalArgumentException: Cannot coerce stop(String) to any of [(boolean, Bundle[])]" is shown in console and bundle still in active state.
> Provided patch checks bundle symbolic name for null equality while searching needed bundle.



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