https://bugs.freedesktop.org/show_bug.cgi?id=67207

          Priority: medium
            Bug ID: 67207
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: FILESAVE replaces the FIELDS in a MAILMERGE document
                    with the "< fieldname >" when database is on a samba
                    share
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: francis.p.jo...@gmail.com
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 3.5.7.2 release
         Component: Writer
           Product: LibreOffice

1. On a samba share on another computer on your local network:
(a) Create a calc doc (spreadsheet).  
(b) Put in columns c1 c2 c3 in first row, with data 1, 2, 3 in second row.

2. On your local computer, create a database file connected tothe calc doc:
(a) use existing database, type Spreadsheet
(b) navigate to the calc doc you create above.
(c) save the .odb file in your local directory (you can't save it on the samba
share --- LO will refuse to write there so you don't have much choice here)

3. Create a writer doc.
(a) put in some "blah blah blah" fixed text
(b) open up the "data sources" and select the database you created in (2)
above.
(c) drag some fields from the db into the writer doc.  You can put in columns
c1, c2, c3 for example.  When you do this, they look like "<c1>", where all the
text has a dark grey background and the whole thing is a solid field entity
(you can't put your cursor between the "c" and the "1" for example.

4. Print the writer doc.  
(a) LO will notice that there are form fields and ask if you want to print a
form letter - say yes.
(b) choose Print to File, one file per doc, use column 1 as the doc name
generator.

5. You will find that you have one new doc (corresponding to the one record in
the spreadsheet) in your Documents folder... and it is correctly printed.

6.  Save the writer doc.  This will save it on the samba share.

7.  Reopen the writer doc.  It won't have any form fields any more.  They will
all simply be changed into fixed and editable text with the names of the
database fields e.g., "<c1>" ... no longer with dark grey background.  Just
plain text.

What should happen: when I save a doc with database fields, it should save it
so that I can reopen it later and print another form letter.  This works fine
as long as the writer doc is on my local machine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to