Description: When we try to use a registered database (a data source we add it into LibreOffice before), fields are returned empty. Steps to Reproduce: Warning: Change simple.ods email column with your email. Otherwise I'll get all the mails. 0.Fill your mail merge config and test settings (Writer->Tools->Options->LibreOffice Writer->Mail Merge Email) 1. Open simple.odt (Don't forget to change mail column) 2. Edit->Exchange Database 3. Browse and add simple.ods 4. Select "test" sheet to define 5. Press ok 6. Close LibreOffice 7. Open LibreOffice again 8. Open simple.odt again 9. View->Data sources 10. Select simple->Tables->test sheet 11. Start mail merge wizard (Tool->Mail Merge wizard or Envelope icon) 12. Select "Use current document" and Next 13. Select "Email message" and Next 14. Click "Select the address list" Select test sheet and Finish 15. Click "Send email messages" button 16. Select To : Email 17. Subject: "xxx" 18. Send as: PDF 19. Click "Send Documents" 20. Open the mail you got. And open simple.pdf Actual Results: Dear, bla bla bla Expected Results: Dear Gülşah, bla bla bla Reproducible: Always User Profile Reset: No Additional Info: Not PDF specific bug, result is same for all type. If you clean registered databases, close and open LibreOffice and use fresh database the problem disappears. Problem appears when we try to use old databases.
Created attachment 169132 [details] simple.ods (don't forget to change email column)
Created attachment 169133 [details] simple.odt
Hello Gulash, Thanks for reporting the bug. I am trying to reproduce this bug, but for me in step 9.view->DataSource, My LibreOffice Crashes. I tried many times but still no change in result for me. so unfortunately I can't reproduce the bug. Version: 7.1.0.3 (x64) / LibreOffice Community Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' .
Hi Raji, Still reproducible for me. Any chance to share the backtrace of the crash. Maybe it gives an idea.
[Automated Action] NeedInfo-To-Unconfirmed
Funny.. Gülşah reported it and after waiting to be confirmed, just decided to fix it and solve the issue of confirmation :) In QA defense, this bug was inspiration to me to triage a couple of other mail merge bugs. Finally ,fed up with making sample each time, I proposed bug 140885.
@Timur actually the bug is very obvious to me :) But for someone else, I know it's not easy to repeat a 20-step. I detected the problem and close to the solution. Thanks..
Gülşah Köse committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e64dc07ca8300a997d6d3eebfc3e198ae55d290d tdf#139906 Show warning message when data source is not avaible. It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Gülşah Köse committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d7d487875246ba00d5be7e4fb0fd82b78fea5205 tdf#139906 Prevent to use the Mail Merge wizard without data source. It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Gülşah Köse committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a809b2ab2553e946431699d9d7ac3f6209cbdd6b tdf#139906 Add an option to change data source from mail merge wizard dialog. It will be available in 7.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.