zenwalk / mapaction-toolbox

Automatically exported from code.google.com/p/mapaction-toolbox
0 stars 0 forks source link

Config tool - validation not enforced with default DPI values #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the config tool and create a new config file.
2. For any of the default DPI values (Jpeg, PDF, EMF) either leave them blank 
or enter an invalid value (eg negative).

What is the expected output?
The tool should warn about blank values or invalid values.

What do you see instead?
No warning is given.

Original issue reported on code.google.com by andrewphilipsmith on 22 Jul 2013 at 11:20

GoogleCodeExporter commented 9 years ago
Suggest that we define a sanity checking range of values (lest say 24 - 1200 
would be pretty generous).

Original comment by andrewphilipsmith on 22 Jul 2013 at 11:25

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by andrewphilipsmith on 28 Aug 2013 at 2:32

GoogleCodeExporter commented 9 years ago
added blank, -24, 1300 and updated - result is dpi defaults to previous value, 
24 and 1200 respectively. same applies when entering a value and tabbing off 
the line except that the blank value is retained, others default to 24 or 1200

Original comment by gd...@mapaction.org on 16 Aug 2014 at 2:10