Description: Two errors found. 1. Data validation by formula does not work when opening a file. Validation starts working only after editing the data validation formula. FILEOPEN EDITING 2. When the file is saved, the values disappear from the data validation list. FILESAVE Steps to Reproduce: Bug first. FILEOPEN 1. Open a file. 2. Change the value in column "A" in cells "A3", "A4", etc. (these cells with data validation by the formula). 3. LibreOffice displays "Login not available" message. Validation failed. It's error. 4. Fix this error: select cell 'A3' or 'A4' or etc. Click tab 'Data' -> 'Validity...' -> 'Ok'. Entry is available in this cell! Now data validation works correctly! Bug two. FILESAVE 1. Check the values in the data validation list for cells "B3", "B4", etc. 2. Change any other cell in the file. Save and close the file. 3. Open the file again and check the values in the data validation list for cells "B3", "B4", etc. The bottom half of the values are not in the data validation list. The file in which the error occurs. https://disk.yandex.ru/i/YcsnRgiFjdkbMQ Actual Results: Bug first. Formula data validation started working in cells 'A3', 'A4' etc. Bug two. Missing values from dropdown data validation list in cells 'B3', 'B4' etc. Expected Results: Bug first. The cell data validation formula should work as soon as the file is opened. Bug two. Values from the data validation list should not disappear after saving. Reproducible: Always User Profile Reset: Yes Additional Info: The file in which the error occurs. https://disk.yandex.ru/i/YcsnRgiFjdkbMQ
Created attachment 186407 [details] file with errors
We take one issue per report, so let's focus on the first one for this report. I tried editing A3 to have cat6, but got an error dialog: Названия уже созданных тематик указаны на втором листе этого файла All_Subjects. Придумайте новое имя для своего творения. Please explain how to test with your file. Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the information.
(In reply to Buovjaga from comment #2) I'm not the reporter, but I do understand how to reproduce the reported behavior. > I tried editing A3 to have cat6, but got an error dialog: > > Названия уже созданных тематик указаны на втором листе этого файла > All_Subjects. Придумайте новое имя для своего творения. > > Please explain how to test with your file. ...Then while in A3 go to Data Validity and click OK on the dialog. Now a new value (e.g. "a") is accepted, whereas before the OK, it was not. I'm not sure this is really a bug, because there is a kind of circular reference: the condition for the validity check includes the value of the cell where the validity is being checked. Adding the formula to check the validity in a different cell and then having the original validity check that new cell might work around the "circular reference". Whether the behavior is acceptable, or it is a bug, IDK.
The problem appears to be a matter of file format used. I did not notice until saving my experimental edits of the test case under a different filename but ... the test case file submitted is saved in xlsx format ... not ods format! Once the (unedited) test case file is saved in ods format, then closed and reopened: ... all data validity formula used in column A behave just as you would expect! SO .. I'm not sure any of the following helps but it is included for thoroughness... There is definitely something strange happening with the formula drawn in from an xlsx format file and used for the validity rule in column A but it is _not_ a problem with any circular reference. The "circular reference" is legitimate because the validity rule has the type: Allow: Custom which necessarily takes a Formula and that formula cannot possibly produce an input value-dependent result if the input value is not referred to within the formula. ... n'est-ce pas? Just about any edit of the formula causes the formula to behave as you would expect. i.e. an input that is not found in the list (from column A on the second sheet) is allowed but an input that matches any value already in that list is disallowed. Indeed selecting any cell in Parameters column A and then opening Data Validity then cutting and pasting the _very_same_formula_ then saving that validity rule causes the desired behaviour. ... ah hah! file format of test case is xlxs not ods !!
Dear Konstantin, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug