[Libreoffice-bugs] [Bug 113923] [BASE/Table Copy] crash: when duplicate Primary Key on Table Copy Wizard.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 25 18:46:25 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=113923
--- Comment #2 from Terrence Enger <lo_bugs at iseries-guru.com> ---
Created attachment 138647
--> https://bugs.documentfoundation.org/attachment.cgi?id=138647&action=edit
example .odb, embedded firebird
I see the crash with message "attempt to copy from a singular
iterator" in, for example, daily Linux dbgutil bibisect repository
version 2017-12-24 and a local build from 2017-12-11. LO 5.4.3.2 as
delivered with debian-buster does not crash, but neither does it
create the new table.
For specificity, here are my latest STR:
( 1) Download and open attached a03_fb.odb, an existing embedded
firebird database with minimal Table1. Program displays main
database window with Forms selected in the Database pane.
( 2) "<Alt>+A". In database pane Tables is selected, and lower right
pane changes to Tables, showing Table1.
( 3) In Tables pane right-click on Table1.
( 4) From pop-up menu select Copy.
( 5) Right-click on the background of the Tables pane.
( 6) From pup-up menu select Paste. Program displays dialog "Copy
table" with default destation table name Table12.
( 7) Select "Create new field as primary key. The default name for
the new field is ID.
( 8) Click <Next>>. Program presents dialog "Apply columns".
( 9) Click the button ">>" to select both existing columns.
(10) Click <Next>>. Program presents dialog "Type formatting" with
fields
(key) ID
(key) cardinal
words
(11) Click <<Back>. Program presents dialog "Apply columns".
(12) Click <Next>>. Program crashes.
In production LO 5.4.3.2 at step (12) the program again displays
dialog "Type formatting". The new primary key is named *twice* in the
list of fields, and each execution of <Back><Next> adds another
appearance the name to the list of fields.
I am setting bug status NEW.
In bug summary, I am changing "duplicate Primary Key" to "repeated
Primary Key".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171225/54dc7573/attachment.html>
More information about the Libreoffice-bugs
mailing list