To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72062
                 Issue #|72062
                 Summary|Basic errors do not propagate backwards
               Component|framework
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|scripting
             Assigned to|ab
             Reported by|npower





------- Additional comments from [EMAIL PROTECTED] Tue Nov 28 04:22:50 -0800 
2006 -------
Errors do not propagate backwards e.g. in the following example

      Sub ASimple()
          On Error GoTo Barf1
          Call BSimple
          Exit Sub
Barf1:
          MsgBox "MyModule.A(): " & Error & _
            "Unexpected failure in A: " & Error
          Error(3)    '[1]
      End Sub

      Sub BSimple()
          On Error GoTo Barf2
          Error (4)
          Exit Sub
Barf2:
          MsgBox "MyModule.B(): " & _
            "Couldn't complete B: " & Error
         Error (5)    '[2]
      End Sub

ooo-basic fails at [2], no error box is generated ( basic aborts when attempting
to handle an error in an error handler )

patch ( to be attached ) proposes to modify basic to attempt to call a parent
error handler if it exists ( otherwise behave as normal and raise error box )

the new behavior will display all message boxes and basic will fail at [1]
raising the appropriate error box

Note: this should not have any issues ( that I can imagine ) for exising basic
macros ( the point of failure will be different but at least will be clearly
indicated in the ide )

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to