-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UF broken with latest 2023.02.00-RC1-geOrchestra #182
Comments
we are on an old release of georchestra |
@catmorales 2023.02.00-RC1-geOrchestra is the latest mapstore2-georchestra's release Don't you plan to test it in order to validate MS2 delivery ? |
oh sorry, I get distracted. Yes we plan to deploy 2023.02.00-RC1-geOrchestra when I will back (week 30). It's scheduled for the july 26th. I will on holiday tomorrow |
@jusabatier we will double check this as part of the RC2 work. Thank you. |
@jusabatier Could you please provide more info to reproduce it. Perhaps export the map json. |
You can access a context with this bug here : https://geoportail.lepuyenvelay.fr/mapstore/#/context/Cadastre The export function is enabled so you can also get the map.json |
@jusabatier |
I confirm it solve the problem. I simply change the Mapstore2 submodule to v2023.01.02 and recompile the extension, and it solve the problem after upgrade mapstore2-cadastrapp extention in Mapstore2 with the generated Zip. Maybe someone with write acces can update the Mapsore2 submodule to v2023.01.02 and release it ? |
maybe the submodule should just point at the same commit as the MapStore2 submodule in ms2-georchestra ? |
Yes correct |
If you do so, what commit will you use ? The one from master or from the release ? I think we should use a release tag commit for releasing a module version. Also for the versioning of the module, shouldn't it embed the georchestra-mapstore or the mapstore release version ? |
MS2 is always embed in a module (depend of developper). So, on start you have to update mapstore2 submodule all the time and build if needed :
Refs :
Normally, for mapstore2-georchestra, we have to use near MapStore2 versions between MapStore2-georchestra and mapstore2 module version. Refs :
So i guess this depend if module have to works in latest (so align and fix module with latest MS2 version) or / and works with master (so align and fix module with master ms2 version). |
fwiw, trying to update the submodule to point at the latest from ms2-geor 2023.02rc2, here's what i did so far:
but so far it utterly fails to build:
because from what i understand the version of cesium that is in node_modules is 1.90 while the version in MapStore2/node_modules is 1.106.1:
dunno if that's related to that failure... and if so, should i've tried adding
to package.json but that doesnt solve the build failure. maybe because of npm6/nodejs12 ? |
i think i found it, probably need geosolutions-it/MapStore2@0e85f94#diff-e1b4f6050534d4d47c8f8720d3dce199f10cf3e40c6931a303bf1b11ad411a42L190 to be adapted for this project. |
Here, I did this :
And I finally success building the addon. NPM version : 9.8.0 |
i have this as a local diff:
but it still fails. now, with node v18.17.1 & npm v9.6.7 installed via
that nodejs ecosystem is just a joke. |
Try with :
|
ok, got it finally building with this diff in the MapStore2 submodule:
@dsuren1 @offtherailz does that make sense to you ? i guess with only this diff on top of geosolutions-it/MapStore2@c4f94e3b7bf i've been able to build |
i can confirm the resulting Cadastrapp.zip build fixes the original issue (broken UF query), running inside 2023.02rc2 |
…ild config follows what was done in e9e3883 for other webpack build configs fixes external extension building after cesium update in geosolutions-it#9267 cf georchestra/mapstore2-cadastrapp#182
…ild config (#9375) follows what was done in e9e3883 for other webpack build configs fixes external extension building after cesium update in #9267 cf georchestra/mapstore2-cadastrapp#182
…ild config (geosolutions-it#9375) follows what was done in e9e3883 for other webpack build configs fixes external extension building after cesium update in geosolutions-it#9267 cf georchestra/mapstore2-cadastrapp#182
…ild config (#9375) (#9445) follows what was done in e9e3883 for other webpack build configs fixes external extension building after cesium update in #9267 cf georchestra/mapstore2-cadastrapp#182
@dsuren1 @tdipisa to get a working cadastrapp build, should/can i do a PR updating the MS2 submodule like georchestra/mapstore2-georchestra#653 or you plan to do it as part of contract #4 ? we can do the PR/release, just want to make sure where's the limit of what you are contracted for... afaict the last commit tagged v2.0.0 in https://github.com/georchestra/mapstore2-cadastrapp/releases/tag/v2.0.0 by @MaelREBOUX wont work on 2023.02. |
* Update MS2 submodule to 2023.02.00 should fix #182 * update to geosolutions-it/MapStore2@b81c200 (tip of 2023.02.xx branch)
just made a v2.1.0 release of the extension in https://github.com/georchestra/mapstore2-cadastrapp/releases/tag/v2.1.0 - the |
Since we deploy the latest 2023.02.00-RC1-geOrchestra, when trying to interrogate a land unit (Unité Foncière), it result in an error message "Oups, quelque chose a mal tourné..." (Oops, something went wrong...).
In console logs we have :
Can someone reproduce this bug ?
@MaelREBOUX @catmorales @pierrejego @landryb @tdipisa
The text was updated successfully, but these errors were encountered: