ICEfaces
  1. ICEfaces
  2. ICE-10037

ace:printer does not display chart data

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0, EE-3.3.0.GA_P03
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      jsf2

      Description

      use following markup to create a test page in ace chart (QA test). NOte that the ace:printer does not display any of the actual chart data (just the grids, legends, etc). If you use File->Print from the browser the bar chart data does display.

      <h:form id="renderedForm">
      <ace:panel id="panOutput" header="selectedChart" rendered="#{not empty barChart.barData}">
      <ace:chart id="chart" stackedSeries="false"
                             animated="false"
                             xAxis="#{barChart.xAxis}"
                             yAxes="#{barChart.yAxes}"
                             widgetVar="barChart1"
                             value="#{barChart.barData}" />
              </ace:panel>
              <ace:panel id="prChoose" >
                  <h:commandLink id="prchart">
                      <h:outputText id="p1" value="Print Chart"/>
                      <ace:printer for="panOutput"/>
                  </h:commandLink>
              </ace:panel>
      </h:form>

        Activity

        Hide
        Arturo Zambrano added a comment -

        r41787: modified jquery clone method to copy canvas tags context and redraw their contents in the copied canvases; modified printer script to benefit from this change.

        Show
        Arturo Zambrano added a comment - r41787: modified jquery clone method to copy canvas tags context and redraw their contents in the copied canvases; modified printer script to benefit from this change.
        Hide
        Ken Fyten added a comment -

        Re-open to backport this fix to the 3.3 maintenance branch also.

        Show
        Ken Fyten added a comment - Re-open to backport this fix to the 3.3 maintenance branch also.
        Hide
        Arturo Zambrano added a comment -

        r41789: committed fix to 3.3 EE maintenance branch.

        Show
        Arturo Zambrano added a comment - r41789: committed fix to 3.3 EE maintenance branch.
        Hide
        Liana Munroe added a comment - - edited

        Verified Icefaces 4 trunk r41789 Tomcat 7, all browsers.
        Verified Icefaces EE-3.3.0 maintenance branch r41789. FF and IE 11.
        Issue with Chrome and EE maintenance branch:
        Chart inside ace:printer does print the chart and data as expected but when the Print Chart command command link is selected, the rendered chart is removed from the page, then the print dialog appears. After submitting print from the print window, the chart does not re-appear.
        New test app "Chart in ace:printer" created and added to
        C:\svn\repo\qa\trunk\Regression-Icefaces4\Sparkle\Nightly\chart and
        C:\svn\repo\qa\trunk\Regression-Icefaces2\Sparkle\Nightly\chart.

        Show
        Liana Munroe added a comment - - edited Verified Icefaces 4 trunk r41789 Tomcat 7, all browsers. Verified Icefaces EE-3.3.0 maintenance branch r41789. FF and IE 11. Issue with Chrome and EE maintenance branch: Chart inside ace:printer does print the chart and data as expected but when the Print Chart command command link is selected, the rendered chart is removed from the page, then the print dialog appears. After submitting print from the print window, the chart does not re-appear. New test app "Chart in ace:printer" created and added to C:\svn\repo\qa\trunk\Regression-Icefaces4\Sparkle\Nightly\chart and C:\svn\repo\qa\trunk\Regression-Icefaces2\Sparkle\Nightly\chart.
        Hide
        Ken Fyten added a comment -

        Re-opened for issue with the chart not re-appearing on the page after being printed as reported above.

        Show
        Ken Fyten added a comment - Re-opened for issue with the chart not re-appearing on the page after being printed as reported above.
        Hide
        Mircea Toma added a comment -

        Upgrading to jQuery 1.11 seems to fix the issue.

        Show
        Mircea Toma added a comment - Upgrading to jQuery 1.11 seems to fix the issue.
        Hide
        Liana Munroe added a comment - - edited

        Issue still exists on ee-maintenance branch r42160, using Chrome browser. See screen shot chromeChart.PNG. This is how the page renders when using the print dialog. Not an issue with other browsers.

        Show
        Liana Munroe added a comment - - edited Issue still exists on ee-maintenance branch r42160, using Chrome browser. See screen shot chromeChart.PNG. This is how the page renders when using the print dialog. Not an issue with other browsers.
        Hide
        Ken Fyten added a comment -

        As we are unable to adopt a newer jQuery release for the 3.3 maintenance branch due to other performance related issues it creates on older IE browsers, we will consider this a known issue for EE 3.3 going forward.

        Show
        Ken Fyten added a comment - As we are unable to adopt a newer jQuery release for the 3.3 maintenance branch due to other performance related issues it creates on older IE browsers, we will consider this a known issue for EE 3.3 going forward.
        Hide
        Ken Fyten added a comment -

        Remaining issue with the ace:chart disappearing when printed on Chrome is logged under JIRA ICE-10194.

        Show
        Ken Fyten added a comment - Remaining issue with the ace:chart disappearing when printed on Chrome is logged under JIRA ICE-10194 .

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: