3liz / lizmap-cadastre-module

Module Cadastre for Lizmap Web Client
Mozilla Public License 2.0
4 stars 5 forks source link

Menu icons are not displayed anymore (404) with LWC 3.6.0 #88

Closed xavyeah39 closed 1 year ago

xavyeah39 commented 1 year ago

Hi,

After upgrade to LWC 3.6 and installing latest lizmap-cadastre-module with composer, cadastre-module icons are not displayed anymore in the toolbar. I get a 404 on mydomain.fr/lizmap/index.php/jelix/res/cadastre/getfile?targetmodule=cadastre&file=cadastre-icon-white.png (same with the black one)

Anyway the module seems to works fine.

Thanks for your help,

image

xavyeah39 commented 1 year ago

En regardant rapidement, il semble que les requêtes getfile? passées dans les url() du fichier cadastre.css du module ne fonctionnent plus avec LWC 3.6.0. J'ai corrigé manuellement et provisoirement en modifiant les url() appelées dans le css. En remplaçant par exemple : background-image: url(getfile?targetmodule=cadastre&file=cadastre-icon-dark.png); par : background-image: url(cadastre-icon-dark.png);