[Mapbender-dev] [Mapbender] #473: undefined default GUI values

Mapbender mapbender_dev at lists.osgeo.org
Mon May 25 08:06:02 EDT 2009


#473: undefined default GUI values
----------------------------+-----------------------------------------------
 Reporter:  kmq             |       Owner:  dev        
     Type:  defect          |      Status:  new        
 Priority:  trivial         |   Milestone:  2.6 release
Component:  user interface  |     Version:  2.6 rc1    
 Keywords:                  |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/473>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list