Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18449

Can't print search results in MSIE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2011.6, 4.4.0, 4.5.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: Windows XP and 7
      Browser: MSIE 7, 8 and 9 tested
      eZ Publish 4.5.0 with ezflow and ezwebin

      Description

      Microsoft Internet Explorer seems to be the only browser recognizing the <link rel="alternate" media="print" …/> tag. (see #007677)

      When searching, the query is given as GET parameters. These GET parameters are not written into the href of that specific <link>-tag.

      So when printing the search results in MSIE, you'll get a printout of the search form without any results (because there was no query given). All other browsers ignore that tag, so they print what you see.

      Example:

      A search for "test" opens the following URL in my browser:

      http://example.org/content/search?SearchText=test&SearchButton=Search
      

      The link tag reads that:

      <link rel="Alternate" href="/layout/set/print/content/search" media="print" title="Printable version" />
      

      Thus, MSIE prints the plain http://example.org/layout/set/print/content/search page.

      Steps to reproduce

      1. Open an eZ installation in some MSIE
      2. Do a search using /content/search
      3. With your results showing, open File -> Print Preview
      4. Try to find your results

        Attachments

        1. Firefox.png
          Firefox.png
          27 kB
        2. Google Chrome.png
          Google Chrome.png
          26 kB
        3. MSIE.png
          MSIE.png
          12 kB

          Activity

            People

            Assignee:
            jv@ez.no Jérôme Vieilledent
            Reporter:
            silver.mab Markus Birth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: