georchestra / mapstore2-cadastrapp

repository for the mapstore2 version of cadastrapp
GNU General Public License v3.0
2 stars 10 forks source link

Plot data exports in txt instead of csv #153

Open jusabatier opened 2 years ago

jusabatier commented 2 years ago

A user tried to select some plots and export them (plot, owner, co-owner, ...) and it generate a file with .txt extension.

It should be with a .csv extension as it is CSV formatted.

jusabatier commented 2 years ago

It only happens on firefox

catmorales commented 2 years ago

We have the same problem with portail-test on firefox and it will be a problem to deploy this version on production

With firefox: image With Chrome: image With chrome we have also the "_" in the name file cf #152

tdipisa commented 2 years ago

Is the use case depicted in screenshots below correct? It seems the same of yours @jusabatier @catmorales. In my case the file name is always correct. I've tried to reproduce in our DEV instance with the following browsers (updated to last versions):

Chrome: 99.0.4844.74 FF: 98.0.1 Edge: 99.0.1150.46

Edge: image

Chrome: image

Firefox: image

With chrome we have also the "_" in the name file cf https://github.com/georchestra/mapstore2-cadastrapp/pull/152

I've provide also some feedback in #152 here

Which version of cadastrapp are you using? Which browser and versions of the browser are you using?

jusabatier commented 2 years ago

Did you upgrade the backend with the last release ? There was an update of a lot of libraries late 2021. Sinci this update, we start to have this bug in MS2 cadastrapp extension. It look like new libraries versions are less permissive with standards than previous ones.