<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: Wingdings; } @font-face { font-family: "Cambria Math"; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: rgb(149, 79, 114); text-decoration: underline; } p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph { margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; } span.Shkpostityyli17 { font-family: Calibri, sans-serif; color: windowtext; } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 70.85pt 2cm; } ol { margin-bottom: 0cm; } ul { margin-bottom: 0cm; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>Thanks for asking. I registered to your service and tried to reproduce this, but had mixed results. Tested with:<br>
</p>
<p>- chrome <span style="color: rgb(95, 99, 104); font-family: Roboto, "Segoe UI", Tahoma, sans-serif; font-size: 13px;">70.0.3538.102</span><br>
</p>
<p>- <span style="font-size:12pt">firefox 63.0.1</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">and with a map having the background map and:</span></p>
<p><span style="font-size:12pt">- without any tools (https://kartta.museoverkko.fi/?lang=fi&uuid=080a3ba6-56dd-49d5-9fb8-3fb9969715d3)</span></p>
<p><span style="font-size:12pt">- with layer selection and measurement tools (https://kartta.museoverkko.fi/?lang=fi&uuid=716cbe5f-13ab-4594-ac8c-6ab8af08e947)</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">I</span><span style="font-size:12pt"> couldn't reproduce this stacktrace on either but I know I've seen this error before in another context and there has been a fix for it in later Oskari versions. It has to do with how the
 toolbar size is calculated when the map is in "mobile mode" == using a mobile browser or in a small enough browser </span><span style="font-size:12pt">window.</span></p>
<p><br>
</p>
<p>What I did see is on chrome there's no layers opened on the embedded map, but on firefox everything looks as it should. So no Javascript error, but something definitely goes wrong. What's strange is there's no reference to the layer on chrome in the response
 coming from the server so its not a browser issue. On some more debugging it looks like you don't have the "view on embedded map" permission on the background map for logged in users. So if I'm logged in on the geoportal and look at the embedded map I don't
 see any layers, but if I log out -> the layers are shown on the embedded map.<br>
</p>
<p><br>
</p>
<p>Not sure if this helps since I couldn't reproduce this, but if you can link the embedded map in question directly I can see if it's reproducible on my browsers on that map. Which Firefox version are you using?<br>
</p>
<p><br>
</p>
<p>           Sami<br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Lähettäjä:</b> Oskari-user <oskari-user-bounces@lists.osgeo.org> käyttäjän puolestaRyyppö, Minna <minna.ryyppo@museovirasto.fi><br>
<b>Lähetetty:</b> 15. marraskuuta 2018 13:00<br>
<b>Vastaanottaja:</b> oskari-user@lists.osgeo.org<br>
<b>Aihe:</b> [Oskari-user] Oskari RPC and Firefox?</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-GB">Has any of you faced this same problem with Firefox and Oskari RPC-client…? We use Oskari’s embedded maps on a web page and those maps also use Oskari’s RPC functionalities. Problem is that Firefox doesn’t show embedded
 maps properly. Only white image can be seen with the text “Tietolähteet”</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style=""><img width="270" height="199" id="Kuva_x0020_1" style="width:2.8125in; height:2.0729in" src="cid:image003.jpg@01D47CE3.2903EAD0"></span><span lang="EN-GB"></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Map is very simple – only a few layers and a very simple RPC function. (this is a test page and requires authentication so I’m not able to send a link, sorry)</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">IE, Chrome and Safari work fine. </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Error message in Firefox’s console says “Too much recursion” and it refers to script file rpc-client.min.js. Looks like this:</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span style=""><img width="635" height="666" id="Kuva_x0020_3" style="width:6.6145in; height:6.9375in" src="cid:image004.jpg@01D47CE3.2903EAD0"></span><span lang="EN-GB"></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">I’d like to know whether anyone else has have the same problem, or is it just our application that causes this. And I wonder if anything else can be done than just use other browser…</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Minna Ryyppö</span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">Minna Ryyppö</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">Geoinformation Specialist</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">Archives and Information Services,</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">Knowledge Management</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">Finnish Heritage Agency</span></p>
<p class="MsoNormal"><span lang="EN-GB" style="">PL 913, 00101 Helsinki</span></p>
<p class="MsoNormal"><span style="">p. 0295 33 6253</span></p>
<p class="MsoNormal"><span style=""><a href="mailto:minna.ryyppo@museovirasto.fi"><span style="color:#0563C1">minna.ryyppo@museovirasto.fi</span></a></span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="">Minna Ryyppö</span></p>
<p class="MsoNormal"><span style="">Paikkatietoasiantuntija</span></p>
<p class="MsoNormal"><span style="">Arkisto- ja tietopalvelut –osasto,</span></p>
<p class="MsoNormal"><span style="">Tiedonhallintayksikkö</span></p>
<p class="MsoNormal"><span style="">Museovirasto</span></p>
<p class="MsoNormal"><span style="">PL 913, 00101 Helsinki</span></p>
<p class="MsoNormal"><span style="">p. 0295 33 6253</span></p>
<p class="MsoNormal"><span style=""><a href="mailto:minna.ryyppo@museovirasto.fi"><span style="color:#0563C1">minna.ryyppo@museovirasto.fi</span></a></span></p>
<div style="border:none; border-bottom:solid windowtext 1.5pt; padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none; padding:0cm"><span style=""> </span></p>
</div>
<p class="MsoNormal"><b><i><span style="">Museoviraston paikkatietorajapinnat ovat uudistuneet talvella 2018. Tarkista uudet osoitteet:</span></i></b></p>
<p class="MsoNormal"><span style=""><a href="https://www.museovirasto.fi/fi/palvelut-ja-ohjeet/tietojarjestelmat/kulttuuriympariston-tietojarjestelmat/kulttuuriympaeristoen-paikkatietoaineistot"><span style="color:#0563C1">https://www.museovirasto.fi/fi/palvelut-ja-ohjeet/tietojarjestelmat/kulttuuriympariston-tietojarjestelmat/kulttuuriympaeristoen-paikkatietoaineistot</span></a></span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>