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

Crash "entity.first is not a function" in operationStraighten when relation is selected #916

Closed
bhousel opened this issue Apr 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bhousel
Copy link
Contributor

bhousel commented Apr 13, 2023

This happens in the chooseAction function, which is responsible for figuring what the user has selected.
It is written in a way to deal with Way/Node selections, but crashes when a Relation is part of the selection (for example, when shift-clicking on a multipolygon).

error:
Screenshot 2023-04-13 at 11 37 16 AM

code is here:
Screenshot 2023-04-13 at 11 37 22 AM

@bhousel bhousel added the bug Something isn't working label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant