[ 
https://issues.apache.org/jira/browse/ARTEMIS-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3408:
-----------------------------------
    Description: 
Start with a system that has plenty messages in one queue.
Delete the first page of message by using (anonymous) checkbox for "select all 
rows" from the table header; and using the Delete Messages button --> OK
See that the "select all rows" checkbox is still selected.
>From now on, it is no longer possible to use "select all rows" because 
>clicking the checkbox in the title-bar has become ineffective.

just a simple page refresh in the browser will restore the functionality.
using the "Reset" button does not restore the functionality.
the "delete messages" and "move messages" buttons remain enabled after the 
delete operation has finished and the selected messages are already deleted.
it is still possible to delete messages that were individually marked without 
any problems.

Note that ARTEMIS-3428 describes the same effect, but without needing to delete 
messages. It seems that the table-navigation is broken more than the table 
navigation.

It looks like the event handlers of (at least) the "select all" button are 
lost. This typically happens when an html element is completely replaced, e.g. 
but setting its {{innerHTML}} content; or using delete+add logic with elements.

I might be able to produce a PR for this as ARTEMIS-3584 made me familiar with 
the internals of this webpage.

  was:
Start with a system that has plenty messages in one queue.
Delete the first page of message by using (anonymous) checkbox for "select all 
rows" from the table header; and using the Delete Messages button --> OK
See that the "select all rows" checkbox is still selected.
>From now on, it is no longer possible to use "select all rows" because 
>clicking the checkbox in the title-bar has become ineffective.

just a simple page refresh in the browser will restore the functionality.
using the "Reset" button does not restore the functionality.
the "delete messages" and "move messages" buttons remain enabled after the 
delete operation has finished and the selected messages are already deleted.
it is still possible to delete messages that were individually marked without 
any problems.

Note that ARTEMIS-3428 describes the same effect, but without needing to delete 
messages. It seems that the table-navigation is broken more than the table 
navigation.

I might be able to produce a PR for this as ARTEMIS-3584 made me familiar with 
the internals of this webpage.


> deleting a page full of messages can only be performed once in Browse Queue
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3408
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3408
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>
> Start with a system that has plenty messages in one queue.
> Delete the first page of message by using (anonymous) checkbox for "select 
> all rows" from the table header; and using the Delete Messages button --> OK
> See that the "select all rows" checkbox is still selected.
> From now on, it is no longer possible to use "select all rows" because 
> clicking the checkbox in the title-bar has become ineffective.
> just a simple page refresh in the browser will restore the functionality.
> using the "Reset" button does not restore the functionality.
> the "delete messages" and "move messages" buttons remain enabled after the 
> delete operation has finished and the selected messages are already deleted.
> it is still possible to delete messages that were individually marked without 
> any problems.
> Note that ARTEMIS-3428 describes the same effect, but without needing to 
> delete messages. It seems that the table-navigation is broken more than the 
> table navigation.
> It looks like the event handlers of (at least) the "select all" button are 
> lost. This typically happens when an html element is completely replaced, 
> e.g. but setting its {{innerHTML}} content; or using delete+add logic with 
> elements.
> I might be able to produce a PR for this as ARTEMIS-3584 made me familiar 
> with the internals of this webpage.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to