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

            Bug ID: 162111
           Summary: Trying to create a primary key while importing a table
                    to Firebird database generates an error
           Product: LibreOffice
           Version: 24.2.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com

Basically, the same initial steps as in bug 130345:

1. Open a Firebird database.
2. Copy a table, for example from Calc.
3. Insert the table to Firebird.
4. Check "Create New Field as Primary Key" > ID
5. Create

Alternatively, omit #4, and then, after #5, a dialog appears suggesting to
create a primary key. Agree (click Yes).

In both cases, a message box pops up:

> Warning at .../dbaccess/source/ui/dlg/sqlmessage.cxx:571
> 
> Incorrect type for setValue at 
> .../connectivity/source/commontools/dbexception.cxx:446
> Continue anyway?

The created table is empty in any case.

Likely related to commit c07548447a564b2d142cc439a124b76e6a71dfbd (Related:
tdf#108057 Use autoincrement for automatically added primary key, 2024-03-20),
which made sure to use the largest type that supports autoincrement.

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

Reply via email to