From: SourceForge.net <no...@so...> - 2007-06-20 04:12:09
|
Bugs item #1740102, was opened at 2007-06-19 21:06 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1740102&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: External Functions >Group: 3.1.2 >Status: Pending >Resolution: Fixed Priority: 5 Private: No Submitted By: Mark Miesfeld (miesfeld) Assigned to: Mark Miesfeld (miesfeld) Summary: ooDialog - ResDialog's init method should fail on error Initial Comment: In ooDialog the ResDialog is a subclass of the BaseDialog. As such, in its init method, it calls the superclass init. However, it does not check the return. It is very possible for the superclass init to fail. By not checking the return, the ResDialog does not pass the failure along to the user of the class. This in turn will cause a user program to continue running, thinking all is okay, when it is not. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2007-06-19 21:12 Message: Logged In: YES user_id=191588 Originator: YES Committed revision 482. The fix was to check the return and, if it is not 0, indicate the error and discontinue initializtion. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=1740102&group_id=119701 |