| Summary: | [explorer] Expanding a JS file in a Library in the Project explorer results in a console error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | General | Assignee: | Ian Tewksbury <itewksbu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cmjaun, david_williams | ||||
| Version: | 3.2 | Flags: | david_williams:
pmc_approved+
thatnitind: pmc_approved? (raghunathan.srinivasan) thatnitind: pmc_approved? (naci.dai) deboer: pmc_approved+ thatnitind: pmc_approved? (neil.hauge) thatnitind: pmc_approved? (kaloyan) cmjaun: review+ thatnitind: review+ |
||||
| Target Milestone: | 3.2.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. In 3.2, JavaScript files in the workspace can be expanded to view their structure in the Project Explorer without opening them in the editor. Expanding JavaScript files inside a Library, however, triggers a stack trace to the console for each file the user tries to open in that Library. This becomes alarming pretty quickly, if not at least very annoying. * Is there a work-around? If so, why do you believe the work-around is insufficient? No workaround. * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Manual test. * Give a brief technical overview. Who has reviewed this fix? We've been looking at different approaches to fixing the full problem (bug 319638) this week, but haven't produced a safe and correct fix yet. It looks like it would be a larger change than we'd be comfortable making at this point, so we're proposing we squelch the output for now and continue to work on a full fix for 3.2.2. * What is the risk associated with this fix? None, we're bypassing a printStackTrace() call by catching the more specific Exception type that's being thrown in this situation. Ideally all of the printStackTraces will also be removed in the 3.2.2 timeframe. +1. Please make sure you have another bug open to track removing all calls to printStackTrace(), as this isn't appropriate in an Eclipse environment. (In reply to comment #2) > +1. Please make sure you have another bug open to track removing all calls to > printStackTrace(), as this isn't appropriate in an Eclipse environment. Done. Bug 319851 Patch checked in. |