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

select_multiple_callback does not work in hicc

    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

      Email from Stephen:

      Hi Eric,

      I'm attempting to create a widget with a select_multiple_callback
      parameter. However, whenever I attempt to deploy it, I get:

      json_text.parseJSON is not a function
      param_options=json_text.parseJSON();

      The same descriptor works fine if I set the type to select_callback.

      I'm using chukwa 2.0.

      Found the problem-- workspace.js calls "parseJSON", not "evalJSON" when
      select_multiple_callback is called.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Change all instance of parseJSON() to evalJSON().

        Show
        eyang Eric Yang added a comment - Change all instance of parseJSON() to evalJSON().
        Hide
        asrabkin Ari Rabkin added a comment -

        +1 to patch.

        Show
        asrabkin Ari Rabkin added a comment - +1 to patch.
        Hide
        asrabkin Ari Rabkin added a comment -

        I just committed this. Thanks, Eric.

        Show
        asrabkin Ari Rabkin added a comment - I just committed this. Thanks, Eric.
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #112 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/112/ )

          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