Opened 15 years ago
Closed 15 years ago
#473 closed defect (fixed)
undefined default GUI values
Reported by: | kmq | Owned by: | astrid_emde |
---|---|---|---|
Priority: | trivial | Milestone: | 2.6 release |
Component: | user interface | Version: | 2.6 rc1 |
Keywords: | Cc: |
Description
When defining a new GUI element in source:/trunk/mapbender/http/php/mod_editElements.php, leaving the "On/OFF" or "Position" fields empty, causes the the following error message when saving:
"sql error: ERROR: invalid input syntax for integer: "" ROLLBACK performed."
That is an undesirable outcome, as it leaves no clue as to what actually went wrong.
Proposed fix: Give default values to $e_pos and $e_public.
Change History (3)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I fixed this bug
in the script:
Have a look at revision 4075