<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I'm using an architecture with <i>Qgis Webclient + Qgis Server</i>,
    everyone at last release.<br>
    I'm making a map with some vectors and one WMS layer.<br>
    <br>
    The problem appears when I try to print the map (webclient side): <br>
    <ul>
      <li>Print doesn't work if WMS layer is checked</li>
      <ul>
        <li>So it works if I uncheck the WMS layer<br>
        </li>
      </ul>
      <li>Print works if I remove "legend" from the print</li>
      <ul>
        <li>So I've two copy of the same model, one with legend who
          don't work and another without legend who works. Same map,
          same layers, the only difference is the legend panel.</li>
      </ul>
    </ul>
    <p>When I see the properties of the layer it is what I see<br>
      <img src="cid:part1.01020204.07060002@ieee.org" alt=""><br>
    </p>
    <p>So the legend is not showed up. But when I add WMS to map I check
      the box for "Use contextual WMS legend". I try with and without
      it, nothing change.<br>
    </p>
    <p>On Qgis client layer panel I can see a tiny legend preview<br>
      <img src="cid:part2.01010505.00040303@ieee.org" alt=""><br>
    </p>
    <p>But it's not the same on the Qgis webclient<br>
      <img src="cid:part3.02030407.02010700@ieee.org" alt=""><br>
    </p>
    <p>Also if I try to insert manually on "Metadata" > "LegendUrl"
      nothing change.<br>
    </p>
    <p>The server error is 500 and no much more information about.<br>
    </p>
    <p>Thanks for help. Cheers,<br>
      F.<br>
    </p>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/antivirus">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                Questa e-mail è stata controllata per individuare virus con Avast antivirus.
                                <br><a href="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>