https://issues.apache.org/ooo/show_bug.cgi?id=122887

--- Comment #6 from Ariel Constenla-Haile <arie...@apache.org> ---
Created attachment 81209
  --> https://issues.apache.org/ooo/attachment.cgi?id=81209&action=edit
Test document

The document is bound to the Bibliography database.

It has a section that is hidden with condition: Address EQ ""

To test that this works:

- F4 / View - Data Sources
- Select the table on the left: Bibliography - Tables - biblio 
- select the first record where Address == ""
- select the toolbar item "Data to fields" to apply the document content with
the current record 

Result: the section is hidden

- modify the selected record, type some text inside the Address field
- select the record again and press "Data to fields"

Result: the section is now visible


A) Test Mail Merge from print form letter:

- try to print the document
- the application will ask you if you want to print a form letter. Click "Yes"
- in the "Mail Merge" dialog, select Output: File, Save merged document: Save
as individual document, check "Generate file name", Field: Identifier, choose a
Path

Result: all merged document display the section, despite that Address <> ""

B) Test Mail Merge from Tools - Mail Merge Wizard...

- step 1: check "Use the current document"
- step 2: check "Letter"
- step 8: check "Save merged document and "Save as individual document". Press
"Save Document"

Result: the section is displayed only when Address <> "", in all other cases
the section is hidden and there is no empty paragraph.

-------

Conclusion: I can reproduce the bug with (A) but not with (B)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to