Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-386

Iframe contents display in the wrong window.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0, 0.3.0
    • Fix Version/s: 0.3.0
    • Component/s: User Interface
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      Iframe contents shows up in the wrong widget window once in a while. This is caused by the iframe controlling servlet is a single instance. When there are more than one concurrent request, the id field is used concurrently by two different requests. To fix this problem, change the global variable to local variable will resolve this problem.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Replaced id with local variable.

        Show
        eyang Eric Yang added a comment - Replaced id with local variable.
        Hide
        asrabkin Ari Rabkin added a comment -

        +1

        Show
        asrabkin Ari Rabkin added a comment - +1
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Ari.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Ari.
        Hide
        hudson Hudson added a comment -

        Integrated in Chukwa-trunk #124 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/124/)
        . Fix a bug in echo id to the browser for the iframe servlet. (Eric Yang)

        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #124 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/124/ ) . Fix a bug in echo id to the browser for the iframe servlet. (Eric Yang)

          People

          • Assignee:
            eyang Eric Yang
            Reporter:
            eyang Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development