You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2011/01/04 18:52:45 UTC

[jira] Created: (AMQ-3113) AMQ Web console creates, but does not delete destinations with '#', '%', '&' and '+' characters.

AMQ Web console creates, but does not delete destinations with '#', '%', '&' and '+' characters.
------------------------------------------------------------------------------------------------

                 Key: AMQ-3113
                 URL: https://issues.apache.org/jira/browse/AMQ-3113
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.4.2
            Reporter: Robert Liguori


The AMQ web console (http://localhost:8161/admin/queues.jsp) allows for the creation of queues with the following names: 

Name 1: ####
Name 2: %%%%
Name 3:  &&&&
Name 4:  ++++

The names are accepted and are shown in the AMQ's web consoles Queue table (http://localhost:8161/admin/queues.jsp) .

The web console does not allow for deletion of any of these destinations when pressing the associated "Delete" button.

When "Delete" is pressed associated with "####", a new web page is displayed with this information:

Error! Exception occurred while processing this request, check the log for more information!

When "Delete" is pressed associated with "%%%%", "&&&&", or "++++", the screen is refreshed with no apparent changes, that is, the destination queue is still there:

I imagine that there should be error handling at the page level and or middle-tier for these situatlions... and/or validation logic against the web components if the user shouldn't be using these characters.

Note that I don't think that the character set is defined for the destination identifier... couldn't find it in the spec: https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload.  Perhaps it should be.  Note the traditional Java identifiers are made up of Java Letters which includes characters where Character.isJavaIdentifierStart(int) returns true.

  



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


[jira] [Closed] (AMQ-3113) AMQ Web console creates, but does not delete destinations with '#', '%', '&' and '+' characters.

Posted by "Robert Liguori (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Liguori closed AMQ-3113.
-------------------------------

    Resolution: Unresolved
    
> AMQ Web console creates, but does not delete destinations with '#', '%', '&' and '+' characters.
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-3113
>                 URL: https://issues.apache.org/jira/browse/AMQ-3113
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.4.2
>            Reporter: Robert Liguori
>
> The AMQ web console (http://localhost:8161/admin/queues.jsp) allows for the creation of queues with the following names: 
> Name 1: ####
> Name 2: %%%%
> Name 3:  &&&&
> Name 4:  ++++
> The names are accepted and are shown in the AMQ's web consoles Queue table (http://localhost:8161/admin/queues.jsp) .
> The web console does not allow for deletion of any of these destinations when pressing the associated "Delete" button.
> When "Delete" is pressed associated with "####", a new web page is displayed with this information:
> Error! Exception occurred while processing this request, check the log for more information!
> When "Delete" is pressed associated with "%%%%", "&&&&", or "++++", the screen is refreshed with no apparent changes, that is, the destination queue is still there:
> I imagine that there should be error handling at the page level and or middle-tier for these situatlions... and/or validation logic against the web components if the user shouldn't be using these characters.
> Note that I don't think that the character set is defined for the destination identifier... couldn't find it in the spec: https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SimpleBundleDownload.  Perhaps it should be.  Note the traditional Java identifiers are made up of Java Letters which includes characters where Character.isJavaIdentifierStart(int) returns true.
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira