[ka-Map-dev] [Bug 1571] kaMap.js removeObject not working for all objects

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed Aug 30 10:42:46 EDT 2006


brabec at gmail.com changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

------- Additional Comments From brabec at gmail.com  2006-08-30 10:42 -------
Haven't tried running it but there are probably the following problems with this

1) removeObject will always return 'false' for the 'all' version of its
execution, it's supposed to return 'true' if all ok

2) it will only remove half of the elements because the
'this.aObjects.splice(i,1)' operation moves the next element at the position of
the current one and then 'i++' in the 'for' loop skips to the following element.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the ka-Map-dev mailing list