-
Notifications
You must be signed in to change notification settings - Fork 23
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
Cadastrapp printing crash in 2023.02.00 release #699
Comments
for a reason i don't understand, i don't have the 'Include overlays' checkbox anymore in the print dialog, but i'm on 8f3fe52 and need to test the latest. But printing works (without overlays) you say 'try to print generate an error', it'd help if you provide the error message ;) |
maybe fallout from #646 ? |
i can reproduce, for some reason 'include overlays' is not available in a context with fewer plugins (eg cadastrapp+print only, more or less) but 'include overlays' is here on my default context, and when a plot is selected and one tries to print:
@tdipisa that's a regression... not sure if the regression is in ms2-cadastrapp (which maybe should be built against the same 2023.02.xx version as ms2) or in ms2-georchestra. |
the error message is printed by https://github.com/geosolutions-it/MapStore2/blob/2023.02.xx/web/client/plugins/Print.jsx#L618 but since the selected plot is not displayed in the preview, that's probably why |
on 2022.01.xx, when i tick/untick the 'include overlays' box, the selected plot is shown/hidden from the preview |
I tried to build ms2-cadastrapp against the same MS version as ms2-georchestra uses and it doesn't solve the problem. |
i'd try locally reverting the fix for #646 |
no luck after locally reverting geosolutions-it/MapStore2@15186518 from #646, issue still present, ticking 'include overlays' adds the cadastre layer to the preview but not the selected plot. edit bah, as always i forget to |
so my initial testing was wrong, but after properly rebuilding and testing the correct JS with a locally reverted geosolutions-it/MapStore2@15186518 i have the selected plot shown in the preview and in the printed pdf. definitely a regression from #646 |
…s are printed (geosolutions-it#9837)" This reverts commit 1518651. fixes georchestra/mapstore2-georchestra#699 for now
https://ids.craig.fr/mapstore/#/context/cadastre has the 'print selected plot' feature in the regular print dialog working again. |
It doesn't work with our new deployement based on docker image geosolutionsit/mapstore2-georchestra:2023.02.00-geOrchestra @tdipisa thank you to check that |
@catmorales hi |
@catmorales @tdipisa |
@dsuren1 Maybe you can solve geosolutions-it/MapStore2#9791 at same time by excluding from print the features without geometry ? |
@catmorales we have just updated the image for stable branch 2023.02.xx . Can you please test also on your side and let us know if it works for you? If yes, we will provide a patch release soon. |
@tdipisa OK thank you I will test it |
No, we will do a patch release 2023.02.01-geOrchestra |
@catmorales done with https://github.com/georchestra/mapstore2-georchestra/releases/tag/2023.02.01-geOrchestra |
Thank you ! |
Good job ! Thanks for the fix. |
Describe the bug
Installing https://github.com/georchestra/mapstore2-georchestra/releases/tag/2023.02.00-geOrchestra
I can't print plots with cadastrapp.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Print should highlight selected plot without error
@catmorales @landryb @pierrejego
The text was updated successfully, but these errors were encountered: