| Summary: | Base - native MySQL - linked subforms do not work | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | hojp <jphorst> |
| Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | jphorst, serval2412 |
| Priority: | medium | ||
| Version: | 6.4.3.1 rc | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
|
Description
hojp
2020-04-24 09:17:27 UTC
Could you try to run this macro here: https://bugs.documentfoundation.org/show_bug.cgi?id=117053#c15 and give a new try? Indeed, I think it may be related to a variable "ParameterNameSubstitution" set to "false". Running the Macro solved the problem. Subforms load data nicely now. Thank you! I forgot to mention, that the same Base file / MariaDB database connection under LO 6.0.7 (Ubuntu 18.04) was working just fine. Therefore, additional people upgrading now from ubuntu 18.04 to 20.04 might also encounter this problem. First, could you rename your LO directory profile? (see https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux) Then would you be able to generate a brand new odb file with this problem? If yes, could you provide minimal step by step to reproduce this? (see https://bugs.documentfoundation.org/show_bug.cgi?id=118112#c64) It may to investigate how to fix this. Indeed, it seems that even for brand new files, we may encounter the pb. *** This bug has been marked as a duplicate of bug 118112 *** No, I could not reproduce the bug with a new base file: 1. renaming profile (e.g. new user folder will be created) 2. creating new base file 3. connecting to database with mysql native driver 4. creating a form using the form assistant - using the tables mentioned before - including a subform with the mentioned relationship -> Works fine Ok so if it's specific to this file, would it be possible you attach a script to create Mysql database with tables + attach files to try to reproduce this? Or perhaps you could recreate the whole file from scratch and it works now so no need to investigate? For new files this does not seem to be a problem. For old files your macro solves the problem. My base file is very old (e.g. has been continuously developed and expanded since 2004/2005). In the version jumps from 6.0 to 6.4 there seems to be some incompatibility. What this exactly is and what your macro changes, I do not understand. Ok so no more pb for you. Great! Interesting too to know that a brand new odb file doesn't need the macro. |