Bug 117080 - Mail Merge doesn't work in all 6.0 versions for save as individual documents
Summary: Mail Merge doesn't work in all 6.0 versions for save as individual documents
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.3.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2018-04-18 08:44 UTC by a.grilli
Modified: 2018-12-20 11:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Mail merge settings (70.87 KB, image/jpeg)
2018-04-18 08:45 UTC, a.grilli
Details
Error message (17.90 KB, image/jpeg)
2018-04-18 08:45 UTC, a.grilli
Details
Template example (61.49 KB, application/vnd.oasis.opendocument.text)
2018-04-18 09:48 UTC, a.grilli
Details
Calc database related (25.10 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-04-18 09:49 UTC, a.grilli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description a.grilli 2018-04-18 08:44:16 UTC
Description:
Mail Merge with individual documents (destination odf or pdf files) produces a fatal error. I tested it with 6.0.1, 6.0.2, 6.0.3 and Development version 6.0.5 (x86)

Steps to Reproduce:
1.select records to merge
2.output - file
3.save as individual documents
4.choose format (odf or pdf)

Actual Results:  
Message of fatal error

Expected Results:
Creation of as many odf files as the number of selected records


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.64
Comment 1 a.grilli 2018-04-18 08:45:02 UTC
Created attachment 141446 [details]
Mail merge settings
Comment 2 a.grilli 2018-04-18 08:45:35 UTC
Created attachment 141447 [details]
Error message
Comment 3 Xisco Faulí 2018-04-18 09:30:51 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Comment 4 a.grilli 2018-04-18 09:48:44 UTC
Created attachment 141451 [details]
Template example
Comment 5 a.grilli 2018-04-18 09:49:22 UTC
Created attachment 141452 [details]
Calc database related
Comment 6 Timur 2018-04-18 16:19:00 UTC
No repro. 
What are the permissions in C:\DatiD? Did you try with your profile folder?
That may be local issue. 
But please try also with master from https://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/ that will install test version.
Comment 8 a.grilli 2018-04-18 18:34:57 UTC
(In reply to Timur from comment #6)
> No repro. 
> What are the permissions in C:\DatiD? Did you try with your profile folder?
> That may be local issue. 
> But please try also with master from
> https://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/ that
> will install test version.

C: is my local disk (of which I am administrator). I didn't tell you that with all 5. versions it works perfectly (today I went back to 5.4.6 and it's ok).
Comment 9 Timur 2018-04-19 07:55:56 UTC
We must reproduce to confirm. If we can't, it's up to you to come up with tht detail why it happens. 
It's sometimes a good idea to clean profile folder, please do it. 
And comment whether this is a duplicate of Bug 116543.
Comment 10 a.grilli 2018-04-19 09:49:36 UTC
(In reply to Timur from comment #9)
> We must reproduce to confirm. If we can't, it's up to you to come up with
> tht detail why it happens. 
> It's sometimes a good idea to clean profile folder, please do it. 
> And comment whether this is a duplicate of Bug 116543.

Hi Timur
I cleaned the profile folder, then retried; the result is the same, fatal error.
I tried before and after the cleaning also with the attachment of Bug 116543, so this is not a duplicate.
I forgot to tell you that an important piece of news: the problem is the same as bug 93565, which was fixed in 2016. It had happened when version 5 was introduced.
Thank you
Alberto
Comment 11 Buovjaga 2018-04-23 10:09:30 UTC
(In reply to Timur from comment #6)
> But please try also with master from
> https://dev-builds.libreoffice.org/daily/master/Win-x86@42/current/ that
> will install test version.

Alberto: try the master build as well.
Comment 12 Xisco Faulí 2018-05-31 12:17:53 UTC
Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 13 a.grilli 2018-05-31 12:45:18 UTC
Yesterday I've tried with version 6.1.0 beta (for bug hunting session) and it worked perfectly, except when the name of the file contained an accent mark (for ex. = à); in that situation the program crashes, otherwise it's ok.

With 6.2.0 alpha [the one that you have just suggested] it's even better: it works 100% and it's even much quicker than with version 5.4.7. I exported as individual documents both to .pdf and .odf format firstly one record and then a series of records.

Thank you



 (In reply to Xisco Faulí from comment #12) 
> Could you please try to reproduce it with a master build from
> http://dev-builds.libreoffice.org/daily/master/ ?
> You can install it alongside the standard version.
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the master build
Comment 14 Buovjaga 2018-05-31 12:52:12 UTC
Hey, that's great news, let's close as WFM.
Comment 15 a.grilli 2018-12-17 13:13:33 UTC
Hello
Sadly there are the same old problems with the latest versions: 6.3.1 and the next 6.4.2.1, also with 6.2.0 Beta, everything Windows x86.

The program crashes (fatal error) when you print - save as individual documents - output: PDF format.
The steps to reproduce and the attachments I put 6 monts ago are still valuable.

There are some problems also with the data sources: the program doesn't keep it and you must select it again. Then also the cell format isn't well kept: if you change froem GG/MM/AAAA to, for example, NNNNGG MMMM AAAA or G MMMM AAAA you have to repeat the same operation every time.

Thanks

Alberto
Comment 16 Buovjaga 2018-12-20 11:20:38 UTC
I know the steps are not the same, but there is still an open crasher: bug 117480