Bug 90331 - Unable to append data
Summary: Unable to append data
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-29 19:10 UTC by rinellge
Modified: 2016-05-09 20:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example database and Calc-table for testin appending data. Works as expected. (9.50 KB, application/zip)
2015-10-25 08:50 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rinellge 2015-03-29 19:10:08 UTC
When using Base and copying and pasting data into a table the initial pasting works fine. I works fine. 

Step 1: Select Table in Base and Right click and Paste. Items selected Append data and Use first line as column names. Then select Next.

Step 2: Uncheck the First Column which is ID, the auto primary key. Then select Create.

Everything is copied to the Base Table.

Problem listed below when trying to append data to existing Table.

Step 1: Copy data from Calc without the header.

Step 2: Select Table in Base and Right click and Paste. Items select Append data and uncheck, Use first line as column names. Then select Next

This where the error occurs.

Step 3:When viewing the Assign Columns under Source table the ID column is not listed although it is the destination table.

Step 4: Click Create.

Step 5: The following error occurs: Warning: Wrong data type: java.lang.NumberFormatException: For input string: "MC313401" Continue anyway:

Note: In the error above the string above the text "MC313401" is the data that I have for the second column.

In the design I have the primary key as ID with an Integer Field Type and AutoValue set to Yes.

Thank you.
Comment 1 Robert Großkopf 2015-03-29 19:28:31 UTC
Could you please add an attachement with a Base-file and a Calc-file (could be in a zip-package)? Only a few dummy-data for reproducing the error here ...
Comment 2 Julien Nabet 2015-03-29 20:58:38 UTC
Following Robert's comment, let's put this one to NEEDINFO.
Comment 3 QA Administrators 2015-10-14 19:51:16 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team

This NEEDINFO message was generated on: 2015-10-14
Comment 4 flywire 2015-10-25 08:05:37 UTC
After creating a table with budget data I was unable to paste append data from excel.

TmpKey	Date	Amount	TNo	Skip	Class	Description	Balance
1	15-Oct-15	29.04			INTER-BANK CREDIT	870	103.2
2	08-Oct-15	53.5			Credit	011	674.16
Comment 5 flywire 2015-10-25 08:08:03 UTC
How do you get data into the tables without typing it in manually?
Comment 6 Robert Großkopf 2015-10-25 08:49:27 UTC
(In reply to flywire0 from comment #5)
> How do you get data into the tables without typing it in manually?

1) Copy data from Calc to clipboard.
2) Right mouseclick on table of Base → Paste
Follow the wizard ...

Works as expected. No problem here to append data for the first time together with tableheaders. No problem here to append data second time without tableheaders.
Tested with LO 4.4.6.2, OpenSUSE 13.2 64bit rpm Linux

Will attach an example. If no reaction from the bugsubmitter I will close this bug as WORKSFORME.
Comment 7 Robert Großkopf 2015-10-25 08:50:32 UTC
Created attachment 119939 [details]
Example database and Calc-table for testin appending data. Works as expected.
Comment 8 QA Administrators 2016-05-09 20:09:06 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INVALID due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

This INVALID Message was generated on: 2016-05-09