Apache OpenOffice (AOO) Bugzilla – Issue 76796
Illogical behaviour of Conditional Text Fields which are not being evaluated
Last modified: 2017-05-20 11:22:33 UTC
Please have a look on the attached files. In the Writer document you see a table with several conditional text fields in rows which are divided by "next dataset" fields, so that the conditional textfields of every row are assigned to a different dataset in the database. The table has 10 rows for 10 datasets but the mailmerge only gets 7 datasets from the database, so the conditional text fields in the lower 3 rows are not being evaluated. In the rows I use these two conditions rotationally: First: IF conditional_text_evaluation.abfrage_testtabelle.varchar_ignorecase NEQ "" THEN filled ELSE Second: IF conditional_text_evaluation.abfrage_testtabelle.varchar_ignorecase EQ "" THEN ELSE filled As you will see in the lower 3 rows of the resulting mailmerge document after the execution of the mailmerge it always shows "filled" though one of the conditions has the "filled" term as the THEN condition and the other has it as ELSE condition. I think that in case some of the conditional text fields don't retrieve a dataset to evaluate from the database due an insufficient number of datasets, always the ELSE condition should be used.
Created attachment 44767 [details] Please register with name "conditional_text_evaluation"
Created attachment 44768 [details] Mailmerge document
Maybe I was wrong saying it should be the ELSE value. Probably the fields not evaluating a dataset should be left empty generally.
Set target to OOo Later
Reset assigne to the default "issues@openoffice.apache.org".