[GLASSFISH-13935] Connector: disable Processing... button Created: 12/Oct/10  Updated: 09/Mar/12

Status: Reopened
Project: glassfish
Component/s: admin_gui
Affects Version/s: 3.1
Fix Version/s: future release

Type: Bug Priority: Minor
Reporter: lidiam Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Attachments: JPEG File processing-v2.JPG     JPEG File processing-v3.JPG     JPEG File resource-runtime-exception.JPG     Text File server.log    
Issuezilla Id: 13,935


build: glassfish-3.1-b24-10_10_2010.zip

Currently when I click on delete for resources (connector or jdbc) a
"Processing..." button is displayed and it is active, meaning I can click it
again and get the same prompt displayed again. This button should be disabled,
as it is in v2, for all such actions. However, I did not observe any negative
side effects of this button being active (no exceptions in server.log, deletion
completes fine), thus potentially this issue could have a lower priority.

Comment by lidiam [ 12/Oct/10 ]

Created an attachment (id=5129)
screenshot - v2

Comment by lidiam [ 12/Oct/10 ]

Created an attachment (id=5130)
screenshot - v3

Comment by sumasri [ 13/Oct/10 ]

Added a target milestone.

Comment by sumasri [ 22/Oct/10 ]


Comment by sumasri [ 11/Nov/10 ]

Once it starts the delete operation, if we click on the "delete" button also, it
will be no op as it has already started the process.

So, Changing it to lower priority.

Comment by sumasri [ 02/Dec/10 ]

Jason has made some changes related to this. This issue is also resolved with that change.
When user clicks on delete for resources (connector or jdbc) a "Processing..." button is displayed and user is not able to click on the button now. Hence, closing the issue as resolved.

Comment by lidiam [ 25/Feb/11 ]

Tested in promoted build b43 and the issue still exists, though the button is displayed for a short time, since deletion of the resource is quick. The bad thing is that now the click on "Processing" button results in runtime exception printed on the screen. Steps to reproduce:

1. Create a Connector Resource filling as many fields, creating properties as desired.
2. On the Connector Resources screen select the newly created resource and click Delete. Hit OK on prompt and right away click on "Processing" that appears in place of "Delete" button. Hit OK on prompt again. - At first the page will display with the table but after a while the following is printed in the right hand frame:

class java.lang.RuntimeException

This may be a bit more of an issue on slower systems, when deletion takes longer.

By the way, when creating a resource, there is also a "Processing..." button, but it is grayed out and inactive, as it should be.

Comment by lidiam [ 25/Feb/11 ]

Attached screenshot and server.log.

Comment by sumasri [ 09/Mar/12 ]

Updating the fix version to future release.

Generated at Thu Jul 02 22:18:13 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.