Description: Database: tables book and author and a bookauthors table connecting the many to many relation between the two. Base Tools->Relationships->Relations radio buttons does not indicate constraints set in database correctly, particularly 'delete options'. Steps to Reproduce: 1. Set a fk constraint to "delete no action" in 'mysql' utility. 2. Open Base Relationships, dblklick 1->n relation. 3. Save relations in Base and run 'show create table <tablename>;' in 'mysql'. Actual Results: Step 2 above: Relations dialog erroneously shows radio button "delete cascade" active. Step 3 above: Setting 'delete no action' is now absent. Expected Results: The state of Base Tools->Relationships radio buttons reflects constraints in database. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.3.5.2 / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 4; OS: Mac OS X 10.13.6; UI render: default; VCL: osx Locale: sv-SE (en_SE.UTF-8); UI: en-US Calc: threaded Using MariaDB 10.5.16
There should have been a step 2.5 in the 'Steps to Reproduce' section: Click to activate the Delete options 'no action' radio button. Sorry about that.
Have had a look at this with MariaDB on OpenSUSE 15.3 Direct connection from LO 7.3.6.2 When Base will show in relationships "Update cascade" and "Delete cascade" it will both be shown in PHPMyAdmin as "No action" If I try to Update a primary key, which is foreign key in the other table an error appers: Cannot delete or update a parent row: a foreign key constraint fails ("test"."Person", CONSTRAINT "Person_ibfk_1" FOREIGN KEY ("Sport_ID") REFERENCES "Sport" ("ID") ON DELETE NO ACTION ON UPDATE NO ACTION) /home/buildslave/source/libo-core/connectivity/source/drivers/mysqlc/mysqlc_general.cxx:119 So the shown connection in Base for direct connection to MariaDB is wrong. Tried the same with JDBC-connection (org.mariadb.jdbc.Driver, version mariadb-java-client-2.4.1.jar). Relation will be shown right way. So this seem to be a special bug of direct connection to MariaDB/MySQL.
Dear tommy.rausberg, 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
Still the same buggy behavior with Version: 24.8.1.2 (X86_64) / LibreOffice Community Build ID: 87fa9aec1a63e70835390b81c40bb8993f1d4ff6 CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (de_DE.UTF-8); UI: de-DE Calc: threaded