Bug 104766 - FILESAVE is apparently arbitrary for database table information changes and saves.
Summary: FILESAVE is apparently arbitrary for database table information changes and s...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.2.3.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 01:04 UTC by aermyr
Modified: 2017-07-27 12:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aermyr 2016-12-19 01:04:30 UTC
Description:
Base consistently does NOT save changes, regardless of saving table information and then saving the database.  There is no error message.  There does not appear to be a failure until you reopen the database and ALL the changes are gone.

Steps to Reproduce:
1.Create several tables
2.Add descriptions for data fields
3.Save the table changes
4.Save the database
5.Reopen the database

Actual Results:  
Complete loss of changes to multiple tables, including switches (Autonumber) and descriptions of data fields.

Expected Results:
 It consistently does NOT save changes, regardless of saving table information and then saving the database.


Reproducible: Sometimes

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Comment 1 Alex Thurgood 2016-12-19 08:45:13 UTC
@aermyr : ideally, we would need a sample database where the problems occur reproducibly, and clear, detailed descriptions of how to get this to happen, otherwise this report will never be able to be confirmed.
Comment 2 Alex Thurgood 2016-12-19 08:47:18 UTC
If the only problem is related to saving of the field descriptions, I believe that this has already been reported.

For other unsaved changes, please indicate in separate bug reports, which changes you have made, and provide a sample test database.
Comment 3 Alex Thurgood 2016-12-19 09:14:39 UTC
There was bug 34988 that was closed due to insufficient information provided by the initial reporter, although his circumstances were specific in that he found he could not copy/paste previously created field definitions into a new field definition and have the description of the field saved.
Comment 4 Alex Thurgood 2016-12-19 09:15:52 UTC
For the autonumbering issue, please open a separate report and provide detailed steps of what it is you are doing.
Comment 5 aermyr 2016-12-20 02:21:20 UTC Comment hidden (obsolete)
Comment 6 aermyr 2016-12-20 02:22:38 UTC Comment hidden (obsolete)
Comment 7 Alex Thurgood 2016-12-21 09:15:30 UTC
@aermyr : thanks for your feedback.

Your idea about metadata storage limits might not be too far off the mark. I don't know what the limit on this kind of metadata is, but it probably isn't limitless, and perhaps there is indeed a bug in committing a large amount of such information to the database file. However, I consider the description information loss and the autonumber setting to be different bugs. They should therefore be filed under separate reports.

It would help us if you could provide a sample ODB file where the problem occurs - obivously, this is a public web site, so you would need to scrub any confidential or personal information from it, or else provide a sample ODB with random data that we could use to test.

My second request would be that you indicate whether, when you say that autonumbering is lost, do you mean that the UI in table design mode displays AUTOVALUE=FALSE, or do you really mean that entering data in table data entry mode refuses to increment a new tuple with the correct number ? What I'm trying to ascertain is whether the database DDL is rewritten when you encounter the problem, and saved to the underlying database so that autonumbering is effectively lost, or whether it is merely a confusing (and buggy) UI artefact, whereas the underlying database schema still maintains autonumbering correctly.

In all of this, I am assuming that you are using the native embedded hsqldb 1.8.0 engine that is currently the default database engine for LibreOffice. If you are using another db engine as the backend, please specify which one, and how you are connecting to it (driver type, version number, db engine version).
Comment 8 aermyr 2016-12-23 02:31:44 UTC
I won't be able to get back to this until after the first of the year, but I will get back to it.  So, briefly
1) It's possible it is the memory on my machine, but I'm running 16GB.
2) I am using the straight Base /hsqldb that comes with LibreOffice.  Just thought of something else though... I have OpenOffice installed as well, if that could be part of the problem?  Sorry, haven't used it in a while and forgot about it.
3) I am referring to the AUTONUMBER switch in table creation mode, not data entry mode.  As far as I can tell, it doesn't refuse to increment during data entry unless it happens to be one of the tables where the autonumber was changed back to false.  Even then, it just doesn't autonumber at all.
4) I'm wordy so I have lots of description metadata.  It will take me a little while to pull the data out, but I'll get it to you.
5) I'll input a new autonumber bug after new year's.

Enjoy the holiday season!
Comment 9 QA Administrators 2017-06-28 12:36:51 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2017-07-27 12:02:23 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA 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

MassPing-NeedInfo-20170727