Issue 17600

Summary: Mail merge to files can't support numeric fields as file name
Product: Writer Reporter: waiterevo <waiter.evo>
Component: codeAssignee: eric.savary
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues, phill.gillespie
Version: OOo 1.1 RC2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 19568    

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