Ticket #136 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

calling AttributeStore constructor with no argument fails

Reported by: elemoine Assigned to:
Priority: major Milestone: 0.6
Component: GeoExt.data.AttributeStore Version: trunk
Keywords: Cc:
State: Commit

Description

Doing

new GeoExt.data.AttributeStore();

gives:

c is undefined
[Break on this error] proxy: c.proxy || (!c.data ?

We should mimic what's done in WMSCapabilitiesStore and be more protective.

Attachments

patch-136-r1302-A0.diff (0.6 kB) - added by elemoine on 08/05/09 11:42:12.

Change History

08/05/09 11:42:12 changed by elemoine

  • attachment patch-136-r1302-A0.diff added.

08/05/09 11:43:46 changed by elemoine

  • owner changed.
  • component changed from GeoExt.data to GeoExt.data.AttributeStore.

Tests continue to pass on FF3. Please review.

08/05/09 16:03:30 changed by tschaub

  • state changed from Review to Commit.

Looks good Eric. Please commit.

08/05/09 16:05:37 changed by elemoine

  • status changed from new to closed.
  • resolution set to fixed.

(In [1305]) calling AttributeStore constructor with no argument fails, r=tschaub (closes #136)