Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-906

IE9: Can't create new SQL data provider

    XMLWordPrintable

Details

    • Release Notes
    • ER3
    • +
    • Hide
      Cause:

      Only in IE9 seems that when using innerHTML method, it evaluates the scripts found in the html code to insert, this behavior not happens in other IE versions (8, 10,11) neither Chrome/Safari.

      So all the script tags inserted in the ajax refreshed portlet, in IE9, are executed twice: once when using innerHTML (attach the http response to a DOM element) and further when adding the new DOM element into the existing DOM tree (appendChild).

      Consequence:

      Both setAjax and refreshPanel javascript functions were called twice, producing some unexpected errors.

      Fix:

      Control that both setAjax and refreshPanel javascript functions are only executed once per ajax request.

      Result:

      As functions are called just once,no unexpected results appear.
      Show
      Cause: Only in IE9 seems that when using innerHTML method, it evaluates the scripts found in the html code to insert, this behavior not happens in other IE versions (8, 10,11) neither Chrome/Safari. So all the script tags inserted in the ajax refreshed portlet, in IE9, are executed twice: once when using innerHTML (attach the http response to a DOM element) and further when adding the new DOM element into the existing DOM tree (appendChild). Consequence: Both setAjax and refreshPanel javascript functions were called twice, producing some unexpected errors. Fix: Control that both setAjax and refreshPanel javascript functions are only executed once per ajax request. Result: As functions are called just once,no unexpected results appear.

    Description

      Description of problem:
      When I try to create new data provider of type 'SQL Query' in Internet explorer 9, nothing happens when I select the provider type. The form for filling in data provider parameters does not appear, instead the screen just remains in the state where you need to select data provider type (as if I hadn't selected it at all).

      Observe the behavior in the video attached:
      in 0:20 I select provider type 'SQL Query' - page is reloaded, but the form for entering provider parameters doesn't appear.
      in 0:30 I select provider type 'CSV File' - and that is working correctly

      Version-Release number of selected component (if applicable):
      BPMS 6.1.0 DR1

      How reproducible:
      Always with Internet Explorer 9

      Steps to Reproduce:
      1. Go to Showcase workspace, page Data providers
      2. Click 'create new data provider'
      3. Select type 'Sql query'

      Actual results:
      Form for entering data provider parameters is not loaded

      Expected results:
      Form should be loaded so we can create new data provider

      Attachments

        Activity

          People

            romartin@redhat.com Roger Martinez
            jhrcek Jan Hrcek (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Jan Hrcek Jan Hrcek (Inactive)
            Kris Verlaenen, Marek Baluch, Rajesh Rajasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: