To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78410
                 Issue #|78410
                 Summary|OOoBasic editor crashes while watching column properti
                        |es
               Component|framework
                 Version|OOo 2.2.1 RC2
                Platform|All
                     URL|
              OS/Version|Windows 2000
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|scripting
             Assigned to|npower
             Reported by|newuser4





------- Additional comments from [EMAIL PROTECTED] Wed Jun 13 18:42:33 +0000 
2007 -------
Make sure that the .odb file biblio (example file located in
/OOo_folder/preset/database/ ) is a registered datasource and create this simple
macro:

Sub InspectColumn
        oBaseContext = CreateUnoService("com.sun.star.sdb.DatabaseContext")
        oDB = oBaseContext.getByName("biblio")
        oCon = oDB.getConnection("", "")

        oRowset=createUnoService("com.sun.star.sdb.RowSet")
        oRowset.activeconnection=oCon
        oRowset.command="SELECT * FROM BIBLIO"
        oRowset.execute()
        ocol=orowset.columns.getbyindex(0)

        oRowset.dispose()
        oCon.Dispose
end sub

This macro works fine but if you set a breakpoint after ocol initialization and
put ocol object into the watch window, Basic editor will crash as just as you
expand ocol properties.

Same behaviour if you try to use Xray tool to watch the object.

I can reproduce it in OOo 2.0.3 2.2.1RC2 and OOo-dev 2.3 under Windows 2000

---------------------------------------------------------------------
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