[fusion-trac] #64: Mapguide error:The value cannot be less than or equal to zero.

Fusion trac_fusion at osgeo.org
Tue Aug 12 09:41:23 EDT 2008


#64: Mapguide error:The value cannot be less than or equal to zero.
----------------------+-----------------------------------------------------
 Reporter:  zspitzer  |         Owner:  madair
     Type:  defect    |        Status:  new   
 Priority:  P2        |     Milestone:        
Component:  MapGuide  |       Version:        
 Severity:  Major     |    Resolution:        
 Keywords:            |   External_id:        
    State:  New       |       Browser:  All   
       Os:  All       |  
----------------------+-----------------------------------------------------
Comment (by zspitzer):

 basically the updateExtents ajax call had a problem it built a url
 string and then passed it in place of struct

 {{{
 if (this.url.indexOf('?') == -1) {
         //serverPath has no ? -- add one
         sParams = this.url + '?' + sParams;
 } else {
         //serverPath contains ?, so must already have paramsString at the
 end
         sParams = this.url + '&' + sParams;
 }

 OpenLayers.Request.GET({
         url: sParams,
         async: false,
         success: this._getExtentSuccess,
         failure: this._getExtentFailure
 });

 }}}

 in place of the OpenLayers.Ajax.Request call

 z

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/64#comment:1>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list