You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/07/13 22:28:09 UTC

[jira] Created: (GERONIMO-753) GBeanName.matches does not respect quotes

GBeanName.matches does not respect quotes
-----------------------------------------

         Key: GERONIMO-753
         URL: http://issues.apache.org/jira/browse/GERONIMO-753
     Project: Geronimo
        Type: Bug
    Versions: 1.0-M3    
    Reporter: Aaron Mulder


It seems that it's legal to quote a component in an ObjectName:  domain:key="value"

When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-753?page=all ]

Aaron Mulder updated GERONIMO-753:
----------------------------------

    Fix Version: 1.0-M5

Recent theory holds that GBeanName should not support quotes (or the things that would otherwise require quotes) at all, so they should probably be stripped when creating a GBeanName.

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.0-M5

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "David Blevins (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-753?page=all ]

David Blevins updated GERONIMO-753:
-----------------------------------

    Fix Version: 1.0
                     (was: 1.0-M5)

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.0

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-753?page=all ]

Aaron Mulder updated GERONIMO-753:
----------------------------------

    Component: kernel

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>   Components: kernel
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.x

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "Dain Sundstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-753?page=all ]
     
Dain Sundstrom closed GERONIMO-753:
-----------------------------------

    Fix Version: 1.1
                     (was: 1.x)
     Resolution: Won't Fix

GBeanNames have been dropped for AbstractNames and the plan is to ultimately replace AbstractName with a URI.  In either case, quoting will not be supported.

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug

>   Components: kernel
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.1

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-753?page=all ]

Matt Hogstrom updated GERONIMO-753:
-----------------------------------

    Fix Version: 1.x
                     (was: 1.0)

Moved to 1.x

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder
>      Fix For: 1.x

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-753) GBeanName.matches does not respect quotes

Posted by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-753?page=comments#action_12315781 ] 

Aaron Mulder commented on GERONIMO-753:
---------------------------------------

This came up due to the behavior of Configuration.getConfigurationObjectName

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira