georchestra / mapstore2-georchestra

geOrchestra newest viewer
Other
6 stars 23 forks source link

Available plugins list - Plugins list is randomly empty #313

Open Gaetanbrl opened 3 years ago

Gaetanbrl commented 3 years ago

Issue

After upload a little custom plugin inside new saved context, available plugins list seems empty :

image

Steps to reproduce :

Sometime it's KO result :

image

If i refresh the page, it's OK (I dunno why) :

image

Logs

No logs from console or server side.

File system

I use the geOrchestra datadir (/etc/georchestra/mapstore) and could access to MS2 files.

A extensions.json file contain my imported plugins and is visible into /etc/georchestra/mapstore datadire folder with same access as tomcat.

pierrejego commented 3 years ago

Hi, I have reproduced this issue on a fresh instance :

On console we can see : Failed to load resource: the server responded with a status of 404 () /mapstore/rest/config/load/extensions.json:1

pierrejego commented 3 years ago

@catmorales Do you have the same on your servers ? It perhaps only a configuration problems, but I don't manage to find it.

catmorales commented 3 years ago

@pierrejego Yes i have the same error in the console but it don't seem to be a problem. I had the same issue as you with sometimes the plugin list empty and with a new deployment of mapstore iit was solved cf https://github.com/georchestra/mapstore2-georchestra/issues/263

I think it's linked with the tutoriel ogf the context manager : image

Gaetanbrl commented 3 years ago

with a new deployment of mapstore iit was solved

@catmorales You mean you realized a total clean + install or just upgrade mapstore (pull master + build + war deploy) ?

Because i have upgraded mapstore yesterday (total clean git folder + clone master recursive + install + build + deploy war) and this solution don't fix this issue (in my case).

I ALWAYS need to refresh contexte creator page to get full plugins list.

So, when you prepare the full map config step (load layers, set catalog...) and have to refresh the page, you lose all the work....

MaelREBOUX commented 3 years ago

Hello @Gaetanbrl is this behaviour still existing ?

Gaetanbrl commented 3 years ago

Hi, Need to upgrade local MapStore to try again.

But @isanchez-c2c reproduced this behavior during the geOcom.