My favorites | Sign in
Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 253: Unable to create twice a placemark with the same id after the first placemark was removed
5 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Type-Defect
Priority-Medium
Internal-1885719
Component-API


Sign in to add a comment
 
Reported by slaks2005, May 27, 2009
What steps will reproduce the problem?
1. Create placemark with id "1" 
      IKmlPlacemark p = ge.createPlacemark("1");
2. Add it to feature list
      ge.getFeatures().appendChild(p);
3. Remove it from the feature list
      ge.getFeatures().removeChild(p);
4. Create the placemark again
      p = ge.createPlacemark("1");

What is the expected output or behavior? What do you see instead?

I expect to be able to create the same placemark with the same id, since 
it was removed before, instead i get an HRESULT E_FAIL COM component 
exception. Which means that the placemark cannot be created since its id 
already exists


Which plugin version are you using?
5.0.11655.6079


Comment 1 by api.roman.public, May 29, 2009
(No comment was entered for this change.)
Labels: Internal-1885719 Component-API
Comment 2 by api.roman.public, Aug 08, 2009
Bulk edit.
Status: Confirmed
Comment 3 by api.roman.public, Aug 26, 2009
A fix is forthcoming in the next release, however it will require an extra step. When 
the new release is available, details will be posted here:

http://groups.google.com/group/google-earth-api-notify

as well as in the release notes.
Status: FixedNotReleased
Comment 4 by api.roman.public, Sep 09, 2009
Fixed as of 5.1.3506.3999 (API v1.003); see announcement here:

http://groups.google.com/group/google-earth-api-notify/browse_thread/thread/6a32fdfcc60236e

If this issue is still not fixed, please let us know.
Status: Fixed
Comment 5 by api.roman.public, Nov 12, 2009
 Issue 360  has been merged into this issue.
Sign in to add a comment