Closed
Bug 706717
Opened 14 years ago
Closed 14 years ago
icongrid bug in attempting to use createGrid
Categories
(Web Apps :: Dashboard, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: onecyrenus, Assigned: dwalkowski)
Details
var imgURL = theItem.itemImgURL;
icongrid.js:937 Uncaught TypeError: Cannot read property 'itemImgURL' of undefined
//if it doesn't, ask the datasource for it
if (!imgURL && self.datasource.getItemImgURL) {
imgURL = self.datasource.getItemImgURL(Base32.decode(guid));
}
//if we still don't have one, use a generic gray icon as a placeholder
if (!imgURL) {
imgURL =
}
Basic exception is being thrown on the manifest, prevents the rest of the icons from being shown.
| Reporter | ||
Comment 1•14 years ago
|
||
There is an issue of localStorage being corrupted, and then preventing dashboard from being displayed.
I have seen the case where the guid is coming up null, and that prevents the rest of the icons from being shown.
There probably needs to be some sort of exception handling mechanism so one icon doesn't stop the display of all icons.
| Reporter | ||
Comment 2•14 years ago
|
||
Mohamed also experienced this same phenomena today.
Comment 3•14 years ago
|
||
Per Dan, marking as P1, this is a blocker for Apps Dev Preview release
Assignee: nobody → dwalkowski
Priority: -- → P1
| Assignee | ||
Comment 4•14 years ago
|
||
Although I was unable to replicate the problem, I inspected the code in the vicinity that David mentioned, and can see how bad things could happen there. I have checked in better error handling code in and near that portion of the code, which I think should fix the problem. Please reopen this bug if that turns out not to be the case.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 5•14 years ago
|
||
| Reporter | ||
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•