glassfish
  1. glassfish
  2. GLASSFISH-13935

Connector: disable Processing... button

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: future release
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      13,935

      Description

      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.

      1. server.log
        14 kB
        lidiam
      1. processing-v2.JPG
        53 kB
      2. processing-v3.JPG
        48 kB
      3. resource-runtime-exception.JPG
        39 kB

        Activity

        Hide
        lidiam added a comment -

        Created an attachment (id=5129)
        screenshot - v2

        Show
        lidiam added a comment - Created an attachment (id=5129) screenshot - v2
        Hide
        lidiam added a comment -

        Created an attachment (id=5130)
        screenshot - v3

        Show
        lidiam added a comment - Created an attachment (id=5130) screenshot - v3
        Hide
        sumasri added a comment -

        Added a target milestone.

        Show
        sumasri added a comment - Added a target milestone.
        Hide
        sumasri added a comment -

        ->MS7

        Show
        sumasri added a comment - ->MS7
        Hide
        sumasri added a comment -

        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.

        Show
        sumasri added a comment - 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.
        Hide
        sumasri added a comment -

        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.

        Show
        sumasri added a comment - 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.
        Hide
        lidiam added a comment -

        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.

        Show
        lidiam added a comment - 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.
        Hide
        lidiam added a comment -

        Attached screenshot and server.log.

        Show
        lidiam added a comment - Attached screenshot and server.log.
        Hide
        sumasri added a comment -

        Updating the fix version to future release.

        Show
        sumasri added a comment - Updating the fix version to future release.

          People

          • Assignee:
            sumasri
            Reporter:
            lidiam
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: