Issue 35836 - Fields/DocInformation contents get lost on saving
Summary: Fields/DocInformation contents get lost on saving
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: 680m57
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
: 37715 38731 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-10-20 07:00 UTC by hercule.li
Modified: 2013-08-07 14:41 UTC (History)
2 users (show)

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


Attachments
The file is for field/docinfo test . (10.25 KB, application/vnd.sun.xml.writer)
2004-10-20 07:04 UTC, hl108890
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hercule.li 2004-10-20 07:00:36 UTC
[Reproduce steps]
1. Open attached file 
2. input something , like "ABC"
3. Tools/options / StarOffice / User data , change First name/Last name as
"Test1 Test2"
4. Save as the file to another file , like abcd.sxw .
   
   So far , everything is right .
   
5. Close the file and reopen again 

Author (var) in create , modify , print ... are NULL .
Comment 1 hl108890 2004-10-20 07:04:44 UTC
Created attachment 18548 [details]
The file is for field/docinfo test .
Comment 2 eric.savary 2004-10-20 12:04:42 UTC
ES->OS: created, modified and print (Author) fields contents get lost on saving.
I rather assume that they can't be *displayed* because a double clic on the
field shows that all possible formats are selected in the Edit field dialog (???!).

It does not seem to be a format problem, oot or sxw do the same.
Comment 3 Oliver Specht 2004-10-26 11:55:29 UTC
This is a problem with SO 6/7 documents. This is fixed in cws oasisbf1. 

*** This issue has been marked as a duplicate of 32781 ***
Comment 4 Oliver Specht 2004-10-26 13:47:01 UTC
reopened - change at the wrong issue
Comment 5 Oliver Specht 2004-10-26 15:20:42 UTC
SfxObjectShell::FlushDocInfo() is called while loading but it doesn't do
anything due to 
..
    if ( IsLoading() )
        return;
...

And it is not done again after loading has finished.
Comment 6 Mathias_Bauer 2004-11-01 08:37:48 UTC
FlushDocInfo was ignored because this function is reserved for *changing* the
DocInfo, but not for loading it.

Please additionally use the SfxEventHint SFX_EVENT_LOADFINISHED.
Comment 7 Oliver Specht 2004-11-02 13:10:22 UTC
Fixed in cws os41 in sw/source/ui/app/docsh2.cxx 
Comment 8 Oliver Specht 2004-11-08 11:06:52 UTC
.
Comment 9 Oliver Specht 2004-11-08 11:07:32 UTC
.
Comment 10 michael.ruess 2004-11-10 15:36:33 UTC
Fix verified in CWS os41.
Comment 11 michael.ruess 2004-11-10 15:37:24 UTC
Verified.
Comment 12 Oliver Specht 2004-11-24 08:32:41 UTC
*** Issue 37715 has been marked as a duplicate of this issue. ***
Comment 13 dcarrera 2004-11-24 12:09:42 UTC
On which snapshot should I expect to see this fix?
I ask for testing purposes.

Daniel.
Comment 14 eric.savary 2004-11-24 12:26:44 UTC
src680m63
Comment 15 eric.savary 2004-11-26 07:52:32 UTC
Ok in src680m63
Comment 16 lohmaier 2004-12-10 19:23:08 UTC
*** Issue 38731 has been marked as a duplicate of this issue. ***