Issue 19571 - Using Field Names with hyphens in means using double quotes
Summary: Using Field Names with hyphens in means using double quotes
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC4
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
: 19454 (view as issue list)
Depends on:
Blocks: 19568 22720
  Show dependency tree
 
Reported: 2003-09-14 20:51 UTC by phillg
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

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


Attachments
Data Source (5.21 KB, application/octet-stream)
2003-09-14 20:52 UTC, phillg
no flags Details
Merge Document with Hidden Paragraphs (5.32 KB, application/octet-stream)
2003-09-14 20:52 UTC, phillg
no flags Details
Result of Mail Merge (5.29 KB, application/octet-stream)
2003-09-14 20:52 UTC, phillg
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description phillg 2003-09-14 20:51:30 UTC
Set up the data source and perform the mail merge.  The first instance of E-mail
is hidden because it is just not(E-mail) whereas the second instance uses double
quotes.  This is a large problem for ordinary users expecting hyphenated field
names to work the same as others.

This issue would resolve the core part of Issue 18294 and part of the need to
change the documentation in Issue 19454 

Confirmed on Linux and Windows XP, under 1.1 RC4
Comment 1 phillg 2003-09-14 20:52:00 UTC
Created attachment 9308 [details]
Data Source
Comment 2 phillg 2003-09-14 20:52:14 UTC
Created attachment 9309 [details]
Merge Document with Hidden Paragraphs
Comment 3 phillg 2003-09-14 20:52:30 UTC
Created attachment 9310 [details]
Result of Mail Merge
Comment 4 eric.savary 2003-09-15 16:56:55 UTC
The 'E-mail' string is evaluated as 'E <minus> mail' and output an
error (i.e it does not work).
We should really advice in the documentation about using quotes when
"crtical characters" (here operator sign) are used.
ES->FPE: please ask OS about the possible "dangerous" characters and
advice to use quotes.  
Comment 5 eric.savary 2003-09-16 16:32:18 UTC
*** Issue 19454 has been marked as a duplicate of this issue. ***
Comment 6 frank.thomas.peters 2003-10-28 07:54:07 UTC
FPE->UFI: One more for the pile.
Comment 7 eric.savary 2004-03-05 19:34:07 UTC
*** Issue 22720 has been marked as a duplicate of this issue. ***
Comment 8 phillg 2004-03-05 21:21:53 UTC
Please note that this blocks 22720 but 22720 is not a duplicate of this bug. 
There are separate issues involved with 22720, namely spaces in field names do
not work with hidden paragraphs at all (single quotes always return true, double
quotes always return false.
Comment 9 frank.thomas.peters 2004-05-19 15:53:38 UTC
.
Comment 10 Uwe Fischer 2004-05-26 09:32:38 UTC
.
Comment 11 Uwe Fischer 2004-07-01 11:43:57 UTC
edited text\swriter\01\04090200.xml. It now advices to use [brackets] and to
avoid spaces. Single or double quotes seem to have their own problems.
This is a fix to the online help - it will not fix the program code if there is
any bug. See the other issues, also #i25781# and #i25983#
Comment 12 eric.savary 2004-10-23 19:56:33 UTC
Help verified in src680m56, Chapter "Defining Conditions"
Comment 13 eric.savary 2004-10-23 19:57:26 UTC
closed