<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Andreas,<br>
<br>
Here a working example:
<a class="moz-txt-link-freetext" href="http://com14av.geourba.it/app.html?map=/maps/com14av.qgs">http://com14av.geourba.it/app.html?map=/maps/com14av.qgs</a><br>
<br>
F.<br>
<br>
<div class="moz-cite-prefix">Il 03/03/2016 11:39, Neumann, Andreas
ha scritto:<br>
</div>
<blockquote cite="mid:f6a48fb129d69028fb3a455e4305ee93@carto.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Hi Franceso,</p>
<p>It is probably this known issue:Â <a moz-do-not-send="true"
href="http://hub.qgis.org/issues/14321">http://hub.qgis.org/issues/14321</a></p>
<p>Expect a fix for this soon at github.</p>
<p>I am a bit surprised it complains about Layer "Layername" and
not template name though. I would expect the latter.</p>
<p>Andreas</p>
<p>On 2016-03-03 11:32, Francesco Marigliano wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left:
#1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->Hi
all,<br>
<br>
I'm having problems with the print functionality of qgis
webclient.<br>
Suppose that I made two prject: <em>a.qgs</em> and <em>b.qgs.
</em>Suppose that the projects have different layers and in both
are defined different print templates.<br>
<br>
<strong>Scenario 1</strong><br>
Following the address <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><strong>a</strong>.qgs
the print feature works properly, but if I choose the <strong>b</strong>
project from the theme switcher and I try to print, I get the
error: <br>
<br>
Layer <em>"layername"</em> does not exists<br>
<br>
<strong>Scenario 2</strong><br>
Following the address <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://myhost/app.html?map=">http://myhost/app.html?map=</a><strong>b</strong>.qgs
the print feature works properly, but if I choose the <strong>a</strong>
project from the theme switcher and I try to print, I get the
error: <br>
<br>
Layer <em>"layername"</em> does not exists<br>
<br>
<br>
<br>
Thanks in advantage for the support.<br>
<br>
Cheers,<br>
F.<br>
<br>
<br>
<hr style="border: none; color: #909090; background-color:
#b0b0b0; height: 1px; width: 99%;">
<table style="border-collapse: collapse; border: none;">
<tbody>
<tr>
<td style="border: none; padding: 0px 15px 0px 8px;"><a
moz-do-not-send="true"
href="https://www.avast.com/antivirus"> <img
moz-do-not-send="true"
src="/apps/assets/program/resources/blocked.gif"
alt="Avast logo" border="0"></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 moz-do-not-send="true"
href="https://www.avast.com/antivirus">www.avast.com</a></p>
</td>
</tr>
</tbody>
</table>
<br>
<!-- html ignored --><br>
<div class="pre" style="margin: 0; padding: 0; font-family:
monospace">_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p>Â </p>
<div>Â </div>
</blockquote>
<br>
<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>