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

        Judy Guglielmin created issue -
        Judy Guglielmin made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Arturo Zambrano [ artzambrano ]
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        Priority Major [ 3 ] Minor [ 4 ]
        Assignee Priority P2 [ 10011 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41787 Tue Jul 15 15:26:36 MDT 2014 art.zambrano ICE-10037 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
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/jquery.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/printer/printer.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #41788 Tue Jul 15 15:28:16 MDT 2014 art.zambrano ICE-10037 updated jquery readme.txt
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/readme.txt
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        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.
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ] P3 [ 10012 ]
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ] Mircea Toma [ mircea.toma ]
        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.
        Liana Munroe made changes -
        Attachment chromeChart.PNG [ 17332 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        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.
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Affects Compatibility/Configuration [ 10002 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s EE-3.3.0.GA_P03 [ 11572 ]
        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 .
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53381 Fri Jul 16 18:30:00 MDT 2021 art.zambrano ICE-11428 ICE-10037 Modified clone() method to redraw contents of canvas elements.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/jquery.js
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/jquery/readme.txt

          People

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

            Dates

            • Created:
              Updated:
              Resolved: