[mapguide-trac] #3: MapTips fail when properties have null values

MapGuide Open Source trac_mapguide at osgeo.org
Tue Apr 10 12:49:26 EDT 2007


#3: MapTips fail when properties have null values
-------------------------+--------------------------------------------------
 Reporter:  pagameba     |         Owner:  anonymous
     Type:  defect       |        Status:  assigned 
 Priority:  medium       |     Milestone:  1.2      
Component:  AJAX Viewer  |       Version:  1.1.0    
 Severity:  major        |    Resolution:           
 Keywords:               |   External_id:  911516   
-------------------------+--------------------------------------------------
Comment (by traianstanev):

 There are a couple of workarounds for this. One is to use empty string in
 the data as you mention. Another is to have two identical theme rules,
 with one filtering by ISNULL  on the property that is NULL. None of these
 are optimal solutions.
 If we update the expression evaluation to replace null strings by empty
 strings, what do you suggest we do for properties which are not strings --
 replace NULL integer values by 0? I don't even know if an integer value
 can be nullable...

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/3#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list