Skip to content
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

map file upload bug #1542

Closed
lthueer opened this issue Oct 27, 2021 · 10 comments
Closed

map file upload bug #1542

lthueer opened this issue Oct 27, 2021 · 10 comments
Assignees
Labels
Prio: Medium fixed and released with next scheduled release Type: Bug incorrect / uexpected behaviour

Comments

@lthueer
Copy link

lthueer commented Oct 27, 2021

URL: https://adhocracy.plus/test/dashboard/modules/brainstorming-mit-karte-107/area_settings/
user: initiators/admins
expected behaviour: upload is possible
behaviour: it is not possible to upload any polygon files (.geojson / .zip)
important screensize: all
device & browser: all
Comment/Question: bug also occurs on dev

file upload not working with the correct file format
Bildschirmfoto 2021-10-27 um 13 55 00

@lthueer lthueer added the Type: Bug incorrect / uexpected behaviour label Oct 27, 2021
@lthueer lthueer changed the title map file upload bug + created map area doesnot save when keypoints are changed map file upload bug Oct 27, 2021
@philli-m
Copy link
Contributor

philli-m commented Nov 2, 2021

Import error: TypeError: t(...).modal is not a function at e._addToMap (map_choose_polygon_with_preset.js:169) at FileReader.s.onload (map_choose_polygon_with_preset.js:156) map_choose_polygon_with_preset.js:132

Uncaught TypeError: (0 , a.shp) is not a function at FileReader.n.onload (map_choose_polygon_with_preset.js:132)

@lthueer
Copy link
Author

lthueer commented Nov 9, 2021

@CarolingerSeilchenspringer I tested this on mB dev and there .geojson works but .zip doesnot. Maybe you can write it on your list and/or test it again?

@CarolingerSeilchenspringer

@lthueer thanks, will add this to mB issue/ test again.

@philli-m
Copy link
Contributor

philli-m commented Dec 2, 2021

@lthueer do you know when this broke? i've set it up so it's using same code as mB but it's still broken so it's likely an update which would be easier to check if we had rough time scale?

@lthueer
Copy link
Author

lthueer commented Dec 7, 2021

@phillimorland I think I discovered it on 25th October if that helps. But it could have been there longer. We had one release the week after and then another one on 16th November.

@philli-m
Copy link
Contributor

philli-m commented Dec 7, 2021

cool, updates before October then, easy ;) cheers!

@lthueer lthueer added this to the Next release 22 milestone Dec 20, 2021
@fuzzylogic2000
Copy link
Contributor

@phillimorland What did we do about that on mB? Did we do sth. about it?

@CarolingerSeilchenspringer

@fuzzylogic2000 here is the closed issue from mB: liqd/a4-meinberlin#3970

@philli-m
Copy link
Contributor

philli-m commented Jan 5, 2022

@fuzzylogic2000 yeah it's all fixed in mB, I ported changes over and made a #1604 however this does not work, I did not explore further

@philli-m
Copy link
Contributor

philli-m commented Jan 6, 2022

git bisect suggesting it was most likely bootstrap update, although difficult to test as the commits just after it don't work as it needed a few commits before everything was working but here is findings:
good commit: 17/08 chore(deps): update dependency @babel/runtime to v7.15.3
good commit: 31/08 fix(deps): update dependency autoprefixer to v10.3.3
bad commit: 02/09 replace l-* with cols

philli-m added a commit that referenced this issue Jan 10, 2022
…map uploa fixes #1542 also make shp global to fix shape file upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio: Medium fixed and released with next scheduled release Type: Bug incorrect / uexpected behaviour
Projects
None yet
Development

No branches or pull requests

4 participants