Closed
Issue #21 · created by Didier BARRET (Edited )


The possibility to not select any models should be allowed if the user wants to consider only trains (unlikely)

It may be the case that someone wants to run the tool for an event that will be organized at a place always reachable by train, say within 1000 km (for a small country like France this is possible). Shouldn't we leave that possibility hence not forcing the selection of one model of emission?

The error message is a bit harsh too? Please select at least one model. What are you doing?

I would remove the "What are you doing?".


2 participants
  • Goutte a white 256x256
    Antoine Goutenoir @agoutenoir

    It is already possible to not use any models, since plane models will be ignored if the distance if less than 1000km (or whatever was selected).

    What should happen if no model was selected and one distance exceeds 1000km? Please note that distance calculus is done asynchronously while form validation is done synchronously, so we do not know about distances when validating the form.

    Edit in fullscreen
    Comments are parsed with GitLab Flavored Markdown
    Attach images (JPG, PNG, GIF) by dragging & dropping or selecting them.
  • 1127e5563faaae39931e60e85fb9f7c4?s=40&d=identicon
    Didier BARRET @dbarret

    The issue is that it raises an error when no models are selected by the user. May be just state somewhere that even if only train applies, always select one method. I can do that in the home page.

    Edit in fullscreen
    Comments are parsed with GitLab Flavored Markdown
    Attach images (JPG, PNG, GIF) by dragging & dropping or selecting them.
  • Goutte a white 256x256 Antoine Goutenoir @agoutenoir

    Status changed to closed

    Edit in fullscreen
    Comments are parsed with GitLab Flavored Markdown
    Attach images (JPG, PNG, GIF) by dragging & dropping or selecting them.