Issue 17600 - Mail merge to files can't support numeric fields as file name
Summary: Mail merge to files can't support numeric fields as file name
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 19568
  Show dependency tree
 
Reported: 2003-07-30 04:12 UTC by waiterevo
Modified: 2013-08-07 14:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description waiterevo 2003-07-30 04:12:07 UTC
To simulate:

1.Create a spreadsheet named as "address.sxc" with 3 rows:

Name       Fax
Mary    1234566
John    9324435

2. Create a datasource for "address.sxc"

3. New a Writer document, insert the <Name> field into the document.

4. Select "Tool" > "Mail-merge"

5. Select "Print to file" option, select file name to use field "Name"

6. On <OK>, we get Mary0.sxw, John0.sxw.

7. Select "Tool" > "Mail-merge"

8. Select "Print to file" option, select file name to use field "fax"

This time on <OK>, we get only "_0.sxw", "_1.sxw". I expect to 
get "12345660.sxw", "93244350".sxw.

It seems that if the field name is numeric, the mail merge can't load the field 
content properly.
Comment 1 phillg 2003-09-14 21:11:44 UTC
Confirmed, but this ultimately seems a duplicate of a bigger issue
with Numerical fields and Mail Merges.  See Issue 19569
Comment 2 phillg 2003-09-14 21:30:21 UTC
Adding as part of Mail Merge Show Stopper Tracking Bug, Issue 19568
Comment 3 eric.savary 2003-09-16 17:10:39 UTC
ES->OS: at least since 641 like this but can be rated as an important
feature (print job to files using billing number as file name is
useless). Therefore -> 1.1.1.
Please have a look at it.
Comment 4 Oliver Specht 2003-09-23 08:57:41 UTC
.
Comment 5 Oliver Specht 2003-10-27 11:22:46 UTC
Fixed in sw/source/ui/dbui/dbmgr.cxx in cws os22 

What remains is the addition of an index to the number.
I submitted issued #21755#.
Comment 6 Oliver Specht 2003-11-14 07:34:25 UTC
cws os22 is available on so-cwsserv01, wntmsci8 and unxlngi5.pro

Comment 7 eric.savary 2003-11-20 15:29:23 UTC
FIXED
Comment 8 eric.savary 2003-11-20 16:08:39 UTC
Verified in os22
Comment 9 h.ilter 2004-01-28 13:31:06 UTC
Verified in integrated 645m27s1-1 = ok