<div dir="ltr">The Caching of the database connection is the issue.<br><div>Workarounds:</div><div>1. Restart MapGuide Server</div><div>2.Redifine Data Connection and re-save</div><div>3. Step 2 plus re-point the layer back to the Data Connection to see changes to the database.</div><div><br></div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Apr 11, 2025 at 8:46 AM Scott Hameister via mapguide-users <<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>> wrote:<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="auto">Happens with SQL as well. Also happens with empty tables (electric outages) if a reboot occurs, can also get messed up by bad views. It seems a schema snapshot occurs at startup, or refreshing of data source. Makes some sense since it would be a big time waste to check schema at every redraw</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 11, 2025, 7:25 AM Kajar Kuldsepp via mapguide-users <<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>> wrote:<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!<div>There have been issue for a years with layers based the Postgresql table data.</div><div>No matter which Postgresql version or mapguide version I have used, for me it have been always issue.</div><div>Problem: layer becomes invisible, when Postgresql schema structure will change(new table have created). For a sample I have table A under public schema, which is source of Mapguide layer. Now I create table B in public schema and this will make layer consuming table A data invisible on the map. </div><div>I use built in Postgresql provider to create feature source.</div><div>I found workaround for that issue: when layer become invisible I have to use Maestro and open that Postgresql feature source and just save it again and this will fix the issue. </div><div>Does anyone else experience similar behavior and how to fix it?</div><div><br></div><div>Kajar</div><div><br></div></div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" rel="noreferrer" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div>