You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validation of the fields begin and end of a track is wrong, since you can enter an end that is before the begin. The track is just invalid because of the empty length.
The text was updated successfully, but these errors were encountered:
@agusaar:
Thank you for your interest, you are welcome to take this issue. I'll write down just a few thoughts, hoping it makes you easier to get onboard.
Basically I would assume that a track begin is equal or less to its end and equal or greater to zero. End should be greater or equal to Begin.
The validation is done inside each entity, so the Track entity has a Validate() method, where this can be achieved.
Do not forget to add a unit tests to check the begin and end validation (there are examples inside the unit tests).
So, I hope you can start, if you have a question, just ask ;).
Validation of the fields begin and end of a track is wrong, since you can enter an end that is before the begin. The track is just invalid because of the empty length.
The text was updated successfully, but these errors were encountered: