unit converter tool makes Brewtarget to crash

Bug #1433579 reported by Theophane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Brewtarget
Fix Committed
Undecided
Unassigned

Bug Description

The converter tool (Tools->Convert Units) make the whole software crashes when no unit is entered for the input value, or when there is no space between the value and the unit.

Examples:

Input: 4
Output Units: g
Click on "Convert" -> Brewtarget crashes

or

Input: 4oz
Output Units: g
Click on "Convert" -> Brewtarget crashes

I've only tested it on windows 7 so I don't know what is the behaviour on Linux or Mac.

Revision history for this message
Theophane (theophane-m-5) wrote :

Fixed by the new unit system

Changed in brewtarget:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.