Issue 76796 - Illogical behaviour of Conditional Text Fields which are not being evaluated
Summary: Illogical behaviour of Conditional Text Fields which are not being evaluated
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m210
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-30 04:01 UTC by helgekraak
Modified: 2017-05-20 11:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Please register with name "conditional_text_evaluation" (3.36 KB, application/vnd.sun.xml.base)
2007-04-30 04:03 UTC, helgekraak
no flags Details
Mailmerge document (9.29 KB, application/vnd.sun.xml.writer)
2007-04-30 04:03 UTC, helgekraak
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description helgekraak 2007-04-30 04:01:39 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.
Comment 1 helgekraak 2007-04-30 04:03:13 UTC
Created attachment 44767 [details]
Please register with name "conditional_text_evaluation"
Comment 2 helgekraak 2007-04-30 04:03:44 UTC
Created attachment 44768 [details]
Mailmerge document
Comment 3 helgekraak 2007-04-30 10:55:42 UTC
Maybe I was wrong saying it should be the ELSE value. Probably the fields not
evaluating a dataset should be left empty generally.
Comment 4 Oliver Specht 2007-06-06 12:39:07 UTC
Set target to OOo Later
Comment 5 Marcus 2017-05-20 11:22:33 UTC
Reset assigne to the default "issues@openoffice.apache.org".