google-code-export / sandy-disaster-recovery

Automatically exported from code.google.com/p/sandy-disaster-recovery
2 stars 2 forks source link

DOM errors on map #217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. On Test Incident on testbed, see sites with id=132057 and id=167140 . These 
are almost identical.
2. Browse to them on /map
3. Click on their icon

Results:

id=167140 causes , in Chrome:
Uncaught Error: NotFoundError: DOM Exception 8 compiled_main.js:120
goog.dom.appendChild compiled_main.js:120
d compiled_main.js:859
updateDialogForSite compiled_main.js:860
sandy.main.SelectSite compiled_main.js:865
(anonymous function) compiled_main.js:864
S.trigger main.js:20
KI.(anonymous function).e
(anonymous function)
S.trigger main.js:20
I.Sd
I.Gl
(anonymous function) main.js:10
S.trigger main.js:20
I.qj
(anonymous function)

In Firefox:
[11:43:12.830] NS_ERROR_INVALID_POINTER: Component returned failure code: 
0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild] @ 
https://sandy-helping-hands.appspot.com/javascript/compiled_main.js?v=150.365934
167130890351:120

Original issue reported on code.google.com by cpw...@gmail.com on 14 Mar 2013 at 11:44

GoogleCodeExporter commented 9 years ago
Fixed as of r253, v153 - it was when work_requested == null.

Original comment by cpw...@gmail.com on 14 Mar 2013 at 1:26