Hi Astrid: I noticed this too but in a slightly different way. It's a bug, see the discussion here:
https://github.com/MapServer/MapServer/issues/6907 Basically the EMPTY keyword is being ignored. This will be fixed in 8.2... --Steve On Mon, Nov 6, 2023 at 9:39 AM Astrid Emde (WhereGroup) via MapServer-users <[email protected]> wrote: > Hello all, > > I have noticed a different behaviour in MapServer 8 in comparision to > MapServer 7. > > In the Web-Section I use a global header and footer and I created an > empty.html page. The definition in the Web-Section looks like: > > WEB > HEADER './templates/header.html' > FOOTER './templates/footer.html' > EMPTY 'http://myserver/ms_empty.html' > > Before Version 8 > - MapServer would show the EMPTY-html if no result comes back from a > Featureinfo-Request > > But with MapServer 8 > - The Header & Footer are given back - with no results in the middle > > When I define everything in the LAYER the behaviour is a bit better - I > get back an empty result but still not the content of the EMPTY-File > HEADER "./templates/header.html" > TEMPLATE "./templates/plz.html" > FOOTER "./templates/footer.html" > > My question: How can I get back the old behaviour and only get back the > content of the Empty-file? > > Did the definition change? > Or is it a bug? Does someone else noticed the behaviour? > > I checked the actual issues, but I could not find anything about it > > https://github.com/MapServer/MapServer/issues/6907 > > > Documentation see > https://mapserver.org/mapfile/web.html > > -- > Best regards > > Astrid Emde > GIS-Consultant > > ********************************** > Where2B Konferenz 2023 > 14. Dezember 2023 in Bonn und Online > https://where2b-conference.com/ > ********************************** > > Astrid Emde > WhereGroup GmbH > Eifelstraße 7 > 53119 Bonn > Germany > > Tel: +49(0)228 90 90 38 - 22 > Fax: +49(0)228 90 90 38 - 11 > > [email protected] > www.wheregroup.com > > Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen: > > > https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB > Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen > > Folgen Sie der WhereGroup auf twitter: > http://twitter.com/WhereGroup_com > > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > > -------------------------------_______________________________________________ > MapServer-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
