Bug 154262 - MAILMERGE does the wrong thing with multiple "Next Record" field from different databases
Summary: MAILMERGE does the wrong thing with multiple "Next Record" field from differe...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-18 21:56 UTC by Jonathan Kamens
Modified: 2023-11-02 03:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Kamens 2023-03-18 21:56:34 UTC
Description:
If you do a mail merge into labels with multiple "Next Record" fields from different database, the results are totally wrong.

Note: This is about LibreOffice 7.5.2.1 but that's not a choice in the version list.

Steps to Reproduce:
1. Create a spreadsheet with two cells: A1="field1", B1="value1". Save it as "calc1.ods".
2. Create and register a database called "db1" connected to it.
3. Create a spreadsheet with two cells: A1="field2", B2="value2". Save it as "calc2.ods".
4. Create and register a database called "db2" connected to it.
5. Create a labels document with this in it, synchronized across all labels:
   DB1: <field1><nr1>
   DB2: <field2><nr2>
   Where "field1" and "nr1" are fields from db1 (the latter is the "Next Record" for the database, and "field2" and "nr2" are from db2.
6. Print to mail merge into a file.

Actual Results:
The first label in step 6's output file looks like this:

DB1: 
DB2: value2

The first label in step 8's output file looks like this:



Expected Results:
The first label in the output file should look like this:

DB1: value1
DB2: value2


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.2.1 (X86_64) / LibreOffice Community
Build ID: 50(Build:1)
CPU threads: 16; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.2~rc1-0ubuntu1
Calc: threaded
Comment 1 Buovjaga 2023-04-04 11:06:35 UTC
I set up everything, but I don't know how add <nr1>. Please explain.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 QA Administrators 2023-10-02 03:15:44 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2023-11-02 03:15:56 UTC
Dear Jonathan Kamens,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp