|
Bugzilla – Full Text Bug Listing |
| Summary: | UI::DumpWidgetTree call Aborts if no dialog exists | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Lukas Ocilka <locilka> |
| Component: | YaST2 | Assignee: | Katarina Machalkova <kmachalkova> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | abittner, tgoettlicher |
| Version: | Alpha 0 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
YaST log
An ycp-ui-bindings patch resolving the issue |
||
|
Description
Lukas Ocilka
2009-03-10 15:33:25 UTC
See also these logs: Created an attachment (id=277866) Created an attachment (id=278403) Created attachment 278523 [details]
An ycp-ui-bindings patch resolving the issue
Attached is a simplistic patch, which modifies DumpWidgetTree function in such a way that it checks for current dialog in a "non-exception-throwing" mode and only if there is some dialog on the stack, it dumps the widget tree into the log. Otherwise it logs a warning.
Although the above test is a corner case, abort()ing the whole YaST thing because of NULL pointer in debugging function is not nice.
Looks good, please submit into 11.2 y2-ycp-ui-bindings 2.18.5 |