Skip to content

Cropping track error #956

Description

@BenjaminHae

What happened?

Bug description

When cropping a track immediately after clicking the cropping symbol this error appears:

Uncaught Error: Invalid LngLat latitude value: must be between -90 and 90
    Immutable 43
    async* http://runner.lan.benjaminh.de:3000/trail/edit/iby47atzzhmey37:49
    promise callback* http://runner.lan.benjaminh.de:3000/trail/edit/iby47atzzhmey37:48
[CnRzcd1P.js:5:157778](http://runner.lan.benjaminh.de:3000/_app/immutable/chunks/CnRzcd1P.js)
    Immutable 6
    forEach self-hosted:145
    M Immutable
    forEach self-hosted:145
    Immutable 2
    forEach self-hosted:145
    Immutable 33
    InterpretGeneratorResume self-hosted:1317
    AsyncFunctionNext self-hosted:780
    (Async: async)
    rr Immutable
    InterpretGeneratorResume self-hosted:1317
    AsyncFunctionNext self-hosted:780
    (Async: async)
    <anonym> http://runner.lan.benjaminh.de:3000/trail/edit/iby47atzzhmey37:49
    (Async: promise callback)
    <anonym> http://runner.lan.benjaminh.de:3000/trail/edit/iby47atzzhmey37:48

Steps to reproduce

  1. Select a trail
  2. Choose Edit
  3. Click Edit route
  4. Select the scissor symbol

Expected behavior

Trail cropping is possible

Environment

wanderer version: v0.18.5
Deployment: self-hosted (docker)
Browser: Firefox / Chrome
OS: Linux

Version

v 0.18.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions