<div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>After digging a bit more, it seems that the cache invalidation is not working on the WFS layer.</div><div><br></div><div>If I call emitDataChanged on any of its layers dependencies, or call emitDataChanged on this layer or even call triggerRepaint, the layer stays the same.</div><div>Only, re-opening the project refreshes the layer.</div><div><br></div><div>I am not very familiar with WFS layers, anyone has an idea about this?</div><div><br></div><div>Cheers,</div><div>Denis</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 3 juin 2020 à 15:19, Denis Rouzaud <<a href="mailto:denis.rouzaud@gmail.com">denis.rouzaud@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<br><br>I have a small question regarding how layer dependencies work.<br><br>I have 2 WFS layers, one being edited, the other one read-only but is actually a view based on the first layer. <div><br></div><div>How can we do that the second layer is refreshed when the first one is edited?<br></div><div><br></div><div>I gave a shot at layer dependencies by making the view dependent of the first layer, but when I add a feature, nothing changes on the view (I have to re-open the project to see the changes).</div><div><br></div><div>Are the layer dependencies supposed to handle this kind of issue?</div><div>Am I missing something?</div><div><br></div><div>Note: the changes is actually happening in related layer (1:n relation), but the related layer is also checked in the dependencies.</div><div><br></div><div>Cheers,</div><div>Denis</div></div>
</blockquote></div></div>