https://bugs.documentfoundation.org/show_bug.cgi?id=168158

            Bug ID: 168158
           Summary: ResultSet providing XRowLocate cant throw SQLException
                    on insert
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If you try to insert a new record into a Base table with a ResultSet providing
the XRowLocate interface and if a SQL exception occurs during this insertion
then LibreOffice will exit abnormally with an UnoException exception.

If you try the same experiment with a ResultSet that does not support the
XRowLocate interface, then the SQL exception will be displayed in a dialog and
Base will handle this problem.

Steps to Reproduce:
It is difficult to reproduce because we must be able to provide Base with
ResultSets that support, or not, the XRowLocate interface.


Actual Results:
If the ResultSet used by Base has the XRowLocate interface then SQL exceptions
when inserting records into a table will cause LibreOffice to stop abnormally.

Expected Results:
If the ResultSet used by Base has the XRowLocate interface then SQL exceptions
must be handled by Base.


Reproducible: Always


User Profile Reset: No

Additional Info:
I don't have this problem when updating, only when inserting, even if the
ResultSet has the XRowLocate interface.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to