Bug 77731 - FILESAVE: will not add new record
Summary: FILESAVE: will not add new record
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.1.4.2 release
Hardware: Other macOS (All)
: highest critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 14:30 UTC by judith.montminy
Modified: 2015-02-12 16:44 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Error message received when trying to save record (78.74 KB, image/tiff)
2014-04-21 14:30 UTC, judith.montminy
Details
A sample of the DB form used when LO stopped allowing records to be added (13.94 KB, application/vnd.oasis.opendocument.text)
2014-04-21 21:24 UTC, judith.montminy
Details
Sample of the DB form used when LO would not "Add Record" (13.94 KB, application/vnd.oasis.opendocument.text)
2014-04-22 02:24 UTC, judith.montminy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description judith.montminy 2014-04-21 14:30:32 UTC
Created attachment 97692 [details]
Error message received when trying to save record

After successfully creating 17 records in "Form" mode, the program won't save the 18th and won't let me add any new records to the database. Pop-up message says:

Error inserting the new record

S1000 General error java.lang.NullPointerException in statement
INSERT INTO "Art"
("Address","AmountPaid","City","CollectionID","CopyrightYear","DatePurchased","Discount","EditionNumber","EmailAddress","FirstName","Insured","ItemType","LastName","PaymentMethod","PhoneNumber","Photo","PurchasedAt","SalePrice","SalesTax","ShippingCost","StateOrProvince","Title") VALUES
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)]
Comment 1 Robert Großkopf 2014-04-21 19:53:52 UTC
Make a copy of the database. Delete all personal data in the database and attach the empty (or filled with dummies) database to this bug. So somebody elese could have a look at it.
Without any example it is impossible to get the same error.

You are using the internal HSQLDB?
Where is the Primarykey in your table "Art"?
Could you reproduce the same with any dummy-data?
Comment 2 judith.montminy 2014-04-21 21:24:25 UTC
Created attachment 97711 [details]
A sample of the DB form used when LO stopped allowing records to be added

The "add record" button is greyed out on this dummy database form as well as on the original. The original stopped adding new records after #17. The dummy won't even get beyond Record #1 whether I hit "add record" or "next record." Hoping someone can duplicate this bug and suggest a work-around.
Comment 3 judith.montminy 2014-04-22 02:24:52 UTC
Created attachment 97720 [details]
Sample of the DB form used when LO would not "Add Record"

This a dummy of the original DB form that stopped allowing "Save Record" and "Add Record" after 17 records created. For some reason, the "dummy" will not add a  record beyond #1.
Any chance there's a work-around for this bug?
If not, the LO database is totally USELESS.
Comment 4 Robert Großkopf 2014-04-22 11:26:06 UTC
(In reply to comment #3)
> Created attachment 97720 [details]
> Sample of the DB form used when LO would not "Add Record"

You have added only a form, not the database. Please attach the *.odb-file.
Comment 5 Julien Nabet 2014-05-30 22:27:03 UTC
Following Robert's comment, I put it as NEEDINFO.

Judith: may I suggest you to give a try to 4.2.4 since there won't be any new official release with 4.1 branch? (last 4.1.X version is 4.1.6)
Comment 6 Julien Nabet 2014-08-29 21:28:44 UTC
No feedback since several months, I put it INVALID since we can't even give it a try.

Judith: don't hesitate to reopen this tracker if you still reproduce this with last LO version (4.2.6 or 4.3.0) and please attach an example file in this case.