[Libreoffice-bugs] [Bug 49708] New: EDITING FILESAFE Setting primary key was silently ignored

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 9 14:50:56 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49708

             Bug #: 49708
           Summary: EDITING FILESAFE Setting primary key was silently
                    ignored
    Classification: Unclassified
           Product: LibreOffice
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: medium
         Component: Database
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: Ulf.Zibis at gmx.de


- import Data from Calc table without setting additional primary key (there is
already a key column in the Calc table)
- In the table definition view set key column as primay key, see:
http://www.libreoffice-forum.de/viewtopic.php?p=13914#p13914
--> primary key icon is displayed
- save and close
- open table definition view again
--> primary setting is lost

Solution:
- allow later primary key setting, even if table contains data
- if not possible, offer an error message to the user
- allow to define existing column as primary key while importing external data

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list