soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Closing a Google Maps MapPoint marker in MapPointTextFieldInputGoogleMaps throws an Exception #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate the code for the MapPointTextFieldInputGoogleMaps codegen test case
2. Run the generated application, and observe the Google Map updating (correct)
3. Close the marker in the Google Map dialog with the X
4. Try and change the address to a different address

What is the expected output? What do you see instead?
Expected: 
The marker re-appears and is relocated to the new address

Actual: 
Runtime error: Exception within AJAX: IamlJavascriptException: Cannot spy
on the info window for map point visual_127b84b628d_20

The problem, I think, is that when the marker is closed, the inner HTML is
also lost. Perhaps using the bindXXX() methods, instead of the openXXX()
methods, would work. Alternatively, you could register an event listener on
the visibility of the GMarker, and grab the innerHTML before it is destroyed.

Original issue reported on code.google.com by soundasleep on 6 Apr 2010 at 11:21

GoogleCodeExporter commented 9 years ago
Resolved in r1847.

Original comment by soundasleep on 7 Apr 2010 at 10:15

GoogleCodeExporter commented 9 years ago
fixing Milestone tag for 0.5.1 release

Original comment by soundasleep on 18 May 2010 at 2:28