[Trac] [geoext] #131: ProtocolProxy needs to call superclass constructor with arguments

geoext trac at geoext.org
Tue Jul 28 22:04:24 CEST 2009


#131: ProtocolProxy needs to call superclass constructor with arguments
---------------------------------------+------------------------------------
 Reporter:  tschaub                    |       Owner:       
     Type:  enhancement                |      Status:  new  
 Priority:  major                      |   Milestone:  0.6  
Component:  GeoExt.data.ProtocolProxy  |     Version:  trunk
 Keywords:                             |       State:  None 
---------------------------------------+------------------------------------
 In Ext 3.0, if a store is configured with a proxy and a writer, the proxy
 needs to have a url property (or an api object) at construction.

 In the DataProxy constructor, {{{Ext.data.Api.prepare}}} is called with
 the proxy.  The proxy is expected to have a url or an api object at this
 point.  Things don't break until a store calls
 {{{Ext.data.Api.hasUniqueUrl}}} with the ill-prepared proxy.

 Though I know Ext uses func.call internally, as I mentioned [ticket:111
 elsewhere] I think we'll get bitten less often with upgrades if we pass
 all arguments to the super - unless we specifically change the signature.
 This type of failure is particularly tedious to track down.

-- 
Ticket URL: <http://trac.geoext.org/ticket/131>
geoext <http://trac.geoext.org/>
GeoExt


More information about the Trac mailing list