You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Arik Kfir (JIRA)" <ji...@apache.org> on 2010/10/27 19:47:19 UTC

[jira] Created: (FELIX-2676) bundlelevel gogo command will never work for modifying bundle level

bundlelevel gogo command will never work for modifying bundle level
-------------------------------------------------------------------

                 Key: FELIX-2676
                 URL: https://issues.apache.org/jira/browse/FELIX-2676
             Project: Felix
          Issue Type: Bug
          Components: Gogo Command
    Affects Versions: gogo-0.6.0
            Reporter: Arik Kfir
            Priority: Blocker


BundleLevel when given a list of bundles for modifying bundle level, checks if the given list if empty, instead of *not* empty.

See line 137 in org.apache.felix.gogo.command.Basic: it checks if the list of bundles IS NOT null AND LENGTH==0  - I think it should be != 0

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


[jira] Updated: (FELIX-2676) bundlelevel gogo command will never work for modifying bundle level

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall updated FELIX-2676:
-----------------------------------

    Fix Version/s:     (was: gogo-0.8.0)
                   gogo.command-0.6.2

> bundlelevel gogo command will never work for modifying bundle level
> -------------------------------------------------------------------
>
>                 Key: FELIX-2676
>                 URL: https://issues.apache.org/jira/browse/FELIX-2676
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Command
>    Affects Versions: gogo-0.6.0
>            Reporter: Arik Kfir
>            Assignee: Richard S. Hall
>            Priority: Blocker
>             Fix For: gogo.command-0.6.2
>
>
> BundleLevel when given a list of bundles for modifying bundle level, checks if the given list if empty, instead of *not* empty.
> See line 137 in org.apache.felix.gogo.command.Basic: it checks if the list of bundles IS NOT null AND LENGTH==0  - I think it should be != 0

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


[jira] Closed: (FELIX-2676) bundlelevel gogo command will never work for modifying bundle level

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

Arik Kfir closed FELIX-2676.
----------------------------


Yup, seems like the appropriate fix. Closing.

> bundlelevel gogo command will never work for modifying bundle level
> -------------------------------------------------------------------
>
>                 Key: FELIX-2676
>                 URL: https://issues.apache.org/jira/browse/FELIX-2676
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Command
>    Affects Versions: gogo-0.6.0
>            Reporter: Arik Kfir
>            Assignee: Richard S. Hall
>            Priority: Blocker
>             Fix For: gogo-0.8.0
>
>
> BundleLevel when given a list of bundles for modifying bundle level, checks if the given list if empty, instead of *not* empty.
> See line 137 in org.apache.felix.gogo.command.Basic: it checks if the list of bundles IS NOT null AND LENGTH==0  - I think it should be != 0

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


[jira] Resolved: (FELIX-2676) bundlelevel gogo command will never work for modifying bundle level

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-2676.
------------------------------------

       Resolution: Fixed
    Fix Version/s: gogo-0.8.0
         Assignee: Richard S. Hall

Yep, I think you are correct. Looks like a copy-and-paste bug from setting the initial level. I've commit a fix, please close this issue if you are satisfied.

> bundlelevel gogo command will never work for modifying bundle level
> -------------------------------------------------------------------
>
>                 Key: FELIX-2676
>                 URL: https://issues.apache.org/jira/browse/FELIX-2676
>             Project: Felix
>          Issue Type: Bug
>          Components: Gogo Command
>    Affects Versions: gogo-0.6.0
>            Reporter: Arik Kfir
>            Assignee: Richard S. Hall
>            Priority: Blocker
>             Fix For: gogo-0.8.0
>
>
> BundleLevel when given a list of bundles for modifying bundle level, checks if the given list if empty, instead of *not* empty.
> See line 137 in org.apache.felix.gogo.command.Basic: it checks if the list of bundles IS NOT null AND LENGTH==0  - I think it should be != 0

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