georchestra / mapstore2-cadastrapp

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

Search by owner by lot fails #180

Open MaelREBOUX opened 1 year ago

MaelREBOUX commented 1 year ago

Following #154

Here with mapstore2-georchestra 2022.01.00 and 2022.02.00 I still cannot load a list of owners. Note that our backend is still v1.9.

The UI shows the name of the file but, after clicking on the button "Rechercher" : nothing happens.

The console developpers (FireFox) :

Error in epic "cadastrappOwnersSearch". Original error: TypeError: r is undefined
    ay https://portail-test.sig.rennesmetropole.fr/mapstore/extensions/Cadastrapp/assets/js/289.0af9bccd.js:1
    _next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    _next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    _next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    _next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    _next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    next https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    u https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    u https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    default https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    v https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    onSearch https://portail-test.sig.rennesmetropole.fr/mapstore/extensions/Cadastrapp/assets/js/289.0af9bccd.js:1
    m https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    w https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    C https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    C https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    k https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    T https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    A https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    gn https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    ue https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    En https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    Sn https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    xn https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    unstable_runWithPriority https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    Bi https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    Xs https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
    _n https://portail-test.sig.rennesmetropole.fr/mapstore/dist/geOrchestra.js?b8c5ddd57a0af44d6a7d:2
geOrchestra.js:2:1151039
MarieSuet commented 9 months ago

The bug is still exists, and municipalities which have several municipal accounts have asked me for access to this tool...still no solution ?

jusabatier commented 9 months ago

If you have municipal accounts ids with a '+', maybe related to this one : https://github.com/georchestra/mapstore2-cadastrapp/issues/183

MaelREBOUX commented 9 months ago

@jusabatier no : it is not related to that. A simple file with only one line with a "classic" owner ID doesn't work.

Hello @gaetanbrl : no idea on this old bug ?

Gaetanbrl commented 9 months ago

Hello @Gaetanbrl : no idea on this old bug ?

Can you share the request / result send on search input please ?