Opened 12 years ago

Closed 12 years ago

#51 closed defect (fixed)

Buffer selected features causes error

Reported by: andersd Owned by: theduckylittle
Priority: major Milestone: 2.6
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc:

Description

This happens when I try to use the buffer around one or more selected feature. Test done in Chrome, IE8, and FireFox.

  1. Open App
  2. Zoom to smaller area
  3. Select 1,2,3,4,10, or more taxlot parcels
  4. Buffer selected set by 20 feet (hit OK)
  5. PROBLEMS IE8:hangs, Chrome Give Error: Error Calling the server:

TypeError: Cannot call method "getElementsByTagName" of null.. FireFox gives Error: Error Calling the server: TypeError:_75e is null.

Was not able to find any workarounds.

Change History (3)

comment:1 by theduckylittle, 12 years ago

Owner: set to theduckylittle
Status: newaccepted

Found a bug with the buffer where the saneBuffer function was being given a string instead of a float, now the function uses floatval to ensure the scalar variable is a float before processing.

r693

comment:2 by andersd, 12 years ago

Tested this with Trunk demo and Chrome. The buffer worked but still has a problem as follows:

  1. Select feature with box
  2. Buffer all selected features (20 feet).
  3. This brings up a "buffer" selected tab with these features.
  4. On the "buffer" selected tab then "Buffer these results" <<-- Problem - nothing happens

comment:3 by theduckylittle, 12 years ago

Resolution: fixed
Status: acceptedclosed

Saw this last night too, fixed in r704.

Note: See TracTickets for help on using tickets.