Ticket #2528205 (closed defect)
Reporter Isaac Z. Schlueter |
Opened: 08/25/09 Last modified: 09/29/09 Status: closed Type: defect Resolution: fixed |
Owner Luke Smith |
Target Release: 3.0.0 GA Priority: P3 (normal) |
|---|---|---|---|
| Summary: | console-filters Throws Error when box is unchecked | ||
| Description: | When using the console-filters plugin, and then unchecking a box on the console after several messages have been added, an error is thrown. ret is null Stack trace: anonymous(Object name=html, Document sketch-2.html)dom.js (line 253) |
||
| Type: | defect | Observed in Version: | development master |
| Component: | Console | Severity: | S3 (normal) |
| Assigned To: | Luke Smith | Target Release: | 3.0.0 GA |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | #2528207 | |
| Browsers: | N/A | ||
| URL: | http://github.com/isaacs/yui3/blob/0e35f6e6cdb9129956c2e4e38998da58b91a95aa/sandbox/autocomplete/sketch-2.html | ||
| Test Information: | 1. Render a console with the console-filter plugin. |
||
Change History
|
Posted: 08/25/09
|
|
Posted: 08/25/09
printBuffer is a public method on Console, so ConsoleFilters is not required to trigger this error. Simply call yconsole.printBuffer() when the Console's buffer is empty. |
|
Posted: 08/25/09
printBuffer no longer throws an error when the buffer is empty [fixes bug #2528205] |
|
Posted: 08/25/09
|
|
Posted: 08/25/09
printBuffer no longer throws an error when the buffer is empty [fixes bug #2528205] |
|
Posted: 09/29/09
|
|
Posted: 09/29/09
|


This is only triggered when there are no messages left after filtering. Also, this exposes a bug in Node.create and Dom.create: passing the empty string will trigger an error from ret.cloneNode(true)
I've created bug #2528207 for DOM.