Description: Base field length = 2 can append data from string of Calc length = 3 Steps to Reproduce: 1.Copy a range of cell from Calc including first row as header 2.Paste into Base table 3. Actual Results: Base field length = 2 can append data from string of Calc length = 3 Expected Results: In sample images, it should not be appended. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 156736 [details] Calc with string length = 3
Created attachment 156737 [details] Base field length = 2
Created attachment 156738 [details] Firebird database table accepts Calc string length = 3 into field length = 2
Created attachment 156740 [details] But Queries found this error.
VARCHAR fields are encoded by up to 4 bytes per character with UTF-8 in Firebird. Depending on your charset, what you are experiencing is kind of to be expected. https://firebirdsql.org/file/documentation/reference_manuals/fblangref25-en/html/fblangref25-datatypes-chartypes.html
The problem is getting the UI fixed char length to be respected when copying data over. Pretty sure that that is a duplicate of an already existing bug.
Could be it is a duplicate of bug 108082. I have reopened this bug, because it will appear again with LO 6.3.4.2 on OpenSUSE. I could append 8 characters to a field with a length of 2 characters defined in Firebird. Have tested it with importing this from Calc. Makes no difference while inserting this characters directly to Firebird table. Could you please test this with your own database?
Seems to me that this is a DUP of bug 108082 *** This bug has been marked as a duplicate of bug 108082 ***