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 Jencks (JIRA)" <ji...@apache.org> on 2011/09/18 01:24:08 UTC

[jira] [Created] (FELIX-3119) Parser check for empty strings is wrong

Parser check for empty strings is wrong
---------------------------------------

                 Key: FELIX-3119
                 URL: https://issues.apache.org/jira/browse/FELIX-3119
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR), Utils
    Affects Versions: bundlerepository-1.6.6
            Reporter: David Jencks


The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FELIX-3119) Parser check for empty strings is wrong

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

Richard S. Hall resolved FELIX-3119.
------------------------------------

    Resolution: Fixed

Done. Please close if satisfied. Thanks.

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119-2.diff, FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (FELIX-3119) Parser check for empty strings is wrong

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

David Jencks closed FELIX-3119.
-------------------------------


Thanks!

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (FELIX-3119) Parser check for empty strings is wrong

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

David Jencks reopened FELIX-3119:
---------------------------------


I forgot to include the bundlerepository change to actually use the new code in the snapshot util :-(

--- bundlerepository/pom.xml    (revision 1173726)
+++ bundlerepository/pom.xml    (working copy)
@@ -38,7 +38,7 @@
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>org.apache.felix.utils</artifactId>
-      <version>1.1.0</version>
+      <version>1.1.1-SNAPSHOT</version>
       <optional>true</optional>
     </dependency>
     <dependency>

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119-2.diff, FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3119) Parser check for empty strings is wrong

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

David Jencks updated FELIX-3119:
--------------------------------

    Attachment: FELIX-3119-2.diff

_use_ the fixed utils code

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119-2.diff, FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3119) Parser check for empty strings is wrong

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

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

    Affects Version/s:     (was: bundlerepository-1.6.6)
                       utils-1.1.0
        Fix Version/s: utils-1.1.2
             Assignee: Richard S. Hall

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3119) Parser check for empty strings is wrong

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

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

    Component/s:     (was: Bundle Repository (OBR))

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (FELIX-3119) Parser check for empty strings is wrong

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

David Jencks updated FELIX-3119:
--------------------------------

    Attachment: FELIX-3119.diff

The obvious fix for the problem.

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR), Utils
>    Affects Versions: bundlerepository-1.6.6
>            Reporter: David Jencks
>         Attachments: FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (FELIX-3119) Parser check for empty strings is wrong

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

Richard S. Hall resolved FELIX-3119.
------------------------------------

    Resolution: Fixed

I've applied this patch, please close is satisfied. Thanks.

> Parser check for empty strings is wrong
> ---------------------------------------
>
>                 Key: FELIX-3119
>                 URL: https://issues.apache.org/jira/browse/FELIX-3119
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.1.0
>            Reporter: David Jencks
>            Assignee: Richard S. Hall
>             Fix For: utils-1.1.2
>
>         Attachments: FELIX-3119.diff
>
>
> The parser skips empty strings but not whitespace, although it trims non-empty strings.  This is obviously not quite right.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira