aesculus / EVTO-App-Feedback

A project to track bugs and ideas for the EVTO App
MIT License
1 stars 0 forks source link

Invalid Supercharger ID Causing Optimizer to Fail #368

Closed aesculus closed 7 years ago

aesculus commented 7 years ago

If a user enters a waypoint as a supercharger, but does not pick a supercharger, the optimizer fails.

The optimizer is expecting a valid supercharger ID and will fail when it does not see one.

aesculus commented 7 years ago

I think I have now fixed these 'ghost' superchargers. It will only work with V1.2 right now. I am not sure I want to try to retrograde it to < 1.2 since only two people complained and the fix was to pick a valid charger from the list.

You can check it out to make sure it is working correctly by copying a valid supercharger address into a Add Waypoint dialog without selecting a supercharger by name. The charger type should be Supercharger. The address will validate OK but you will not see a supercharger name (that's a test). Then try a route that needs that supercharger (ie you could not make it from origin to destination without that charger). And optimize. It basically should not change anything. Before it would complain of not being able to find a supercharger.

aesculus commented 7 years ago

The fix for issue #477 was validated against this issue and appears to resolve both issues.