Bug 164287 - LibreOffice Writer's mail merge function does not work correctly.
Summary: LibreOffice Writer's mail merge function does not work correctly.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2024-12-11 16:12 UTC by laurentlepoittevin
Modified: 2024-12-31 17:53 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
the test writer file (15.28 KB, application/vnd.oasis.opendocument.text)
2024-12-11 16:14 UTC, laurentlepoittevin
Details
simple calc file (16.82 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-12-11 16:14 UTC, laurentlepoittevin
Details
the result of saving a merged file with the exclusion of recipient 3 (1, 2 and 4 expected) (15.16 KB, application/vnd.oasis.opendocument.text)
2024-12-11 16:16 UTC, laurentlepoittevin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description laurentlepoittevin 2024-12-11 16:12:22 UTC
Description:
LibreOffice Writer's mail merge function does not work correctly.
This applies to both versions 24.8.3 and 28.4.1.
In 24.8.3, this leads to a crash and the closing of LibreOffice, in 28.4.1 it leads to the deletion of recipients located after the one to be excluded.
on 4 recipients, if 3 is excluded, on exit I get a document with recipient 1, then one with recipient 2, and a final document with recipient 2 again. No recipient 3, which is normal, but no recipient 4, which is not normal.

Steps to Reproduce:
1 . open the file publipostage.odt
2 . if necessary, link the mailing to publipostage.ods
3. exclude recipient 3 (record 3)
4. save merged documents 
5. choose whether you want a single document or several (it doesn't work in both cases)
6. with version 24.8.3 Libreoffice closes, with version 24.8.4.1 the documents are saved but record four is missing.

Actual Results:
with version 24.8.3 Libreoffice closes, with version 24.8.4.1 the documents are saved but record four is missing.

Expected Results:
if I choose the single merged document function, I obtain one document with the three recipients (1, 2 and 4), if I choose the single document function, I obtain three documents, one for recipients 1, 2 and 4. Recipient 3 is excluded.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Please note that the record number in the navigation interface does not change when moving from one record to another.
Comment 1 laurentlepoittevin 2024-12-11 16:14:04 UTC
Created attachment 198065 [details]
the test writer file

the simple writer file I used to test the mailing function
Comment 2 laurentlepoittevin 2024-12-11 16:14:56 UTC
Created attachment 198066 [details]
simple calc file

the simple calc file I used to test the mailing function
Comment 3 laurentlepoittevin 2024-12-11 16:16:01 UTC
Created attachment 198067 [details]
the result of saving a merged file with the exclusion of recipient 3 (1, 2 and 4 expected)

the result of saving a merged file with the exclusion of recipient 3 (1, 2 and 4 expected)
Comment 4 laurentlepoittevin 2024-12-11 16:21:20 UTC
(In reply to laurentlepoittevin from comment #0)
> Description : La fonction de fusion de courrier de LibreOffice Writer ne
> fonctionne pas correctement. Cela s'applique aux trois versions 24.2.7, 24.8.3 et
> 28.4.1.En 24.2.7, cela conduit à un crash et à la fermeture de LibreOffice,
> en 24.8.3 et 28.4.1 cela conduit à la suppression des destinataires situés après celui
> à exclure. Sur 4 destinataires, si 3 est exclu, à la sortie j'obtiens un
> document avec destinataire 1, puis un avec destinataire 2, et un document
> final avec destinataire 2 à nouveau. Pas de destinataire 3, ce qui est
> normal, mais pas de destinataire 4, ce qui n'est pas normal.Etapes pour
> Reproduire :1 . ouvrir le fichier publipostage.odt2 . si nécessaire, lier
> l'envoi à publipostage.ods3. exclure le destinataire 3 (enregistrement 3) 4.
> enregistrer les documents fusionnés 5. choisir si vous voulez un seul
> document ou plusieurs (cela ne fonctionne pas dans les deux cas) 6. avec la
> version 24.8.3 Libreoffice ferme, avec la version 24.8.4.1 les documents
> sont sauvegardés mais l'enregistrement quatre est manquant Résultats Réels :
> avec la version 24.8.3 Libreoffice ferme, avec la version 24.8.4.1 les
> documents sont sauvegardés mais l'enregistrement quatre est manquant
> Résultats attendus : si je choisis la fonction unique document fusionné,
> j'obtiens un document avec les trois destinataires (1, 2 et 4), si je
> choisis la fonction document unique, j'obtiens trois documents, un pour les
> destinataires 1, 2 et 4. Le destinataire 3 est exclu.Reproductible :
> ToujoursRéinitialiser le profil de l'utilisateur : OuiInfo supplémentaire :
> Veuillez noter que le numéro d'enregistrement dans l'interface de navigation
> ne change pas lorsque vous passez d'un enregistrement à un autre.
Comment 5 laurentlepoittevin 2024-12-11 16:39:32 UTC
in version 25.2.0, LibreOffice crashes completely with no document output
Comment 6 BogdanB 2024-12-21 16:48:24 UTC
Confirm with
Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Also with
Version: 7.2.3.2 / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded