[Libreoffice-bugs] [Bug 131618] New: MailMerge contradictory data source error

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 27 08:08:15 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131618

            Bug ID: 131618
           Summary: MailMerge contradictory data source error
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: olegshtch at yandex.ru

MailMerge shows error when validating arguments: Either the ResultSet or
DataSourceName and DataCommand must be set

https://github.com/LibreOffice/core/blob/master/sw/source/uibase/uno/unomailmerge.cxx#L606

But later in
https://github.com/LibreOffice/core/blob/9b8013b20d20a3946146d5287e8d8f8b9ddf694d/sw/source/uibase/dbui/dbmgr.cxx#L469
it checks for aData.sDataSource.isEmpty() || aData.sCommand.isEmpty() ||
!xResSet.is() and silently fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200327/b76671c6/attachment.htm>


More information about the Libreoffice-bugs mailing list