| Summary: | The Toaster directory structure does not expand / collapse | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | Belen Barros Pena <belen.barros.pena> |
| Component: | toaster | Assignee: | David Reyna <david.reyna> |
| Status: | VERIFIED FIXED | QA Contact: | Cristina Agurida <cristina-danielax.agurida> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, cristina-danielax.agurida, david.reyna, jessica.zhang, stanciux.mihail |
| Version: | 1.8 | ||
| Target Milestone: | 1.9 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
| Bug Depends on: | 8558 | ||
| Bug Blocks: | |||
|
Description
Belen Barros Pena
2015-05-27 11:00:12 UTC
*** Bug 8116 has been marked as a duplicate of this bug. *** The problem was that the original AJAX call in "dirinfo.html" expects the response data to be a JSON-formatted string, and uses "parseJSON()" to convert that into a JS object for display computation. However, in debugging the code I found that the JS debugger recognized the "response" to now _already_ be a proper JS object, and the observed failure in the defect is that "parseJSON()" tries to convert it and immediately hits a syntax error. The fix is to simply skip the "parseJSON()" step, and now it all works. But I do not know why the AJAX operation changed, unless it was updated to take the JSON format indicator and perform the conversion automatically now, which would explain why it works the way it does in this release. In any case, I have kept a note in the the patch indicated how "parseJSON()" is no longer needed, in case someone in the future puzzles over this. This issue can't be verified because the bug with 8558 id blocks it. Verified on master: e1aa897beb33171bc902207b98c8f666b9e97ad3 |