Issue 101741

Summary: Fix the usage of GetInitFileDate().
Product: General Reporter: mikhail.voytenko
Component: codeAssignee: thorsten.martens
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: carsten.driesner, issues, Mathias_Bauer
Version: DEV300m47   
Target Milestone: OOo 3.1.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 101565    
Attachments:
Description Flags
Configuration file containing entry, that turns using of system file locking off for document files. none

Description mikhail.voytenko 2009-05-11 07:57:00 UTC
As mentioned in issue 96751, the call to GetInitFileDate() is currently done
when it is not really necessary. The call is part of the OOo document file
locking and should be used only in this context.
So the proposed changes are:
- use the call only for documents, since it is related to OOo document file
locking functionality
- use the call only for editable documents
- use the call only in case of file protocol
Comment 1 mikhail.voytenko 2009-05-11 12:10:26 UTC
Setting the target.
Comment 2 mikhail.voytenko 2009-06-05 13:25:37 UTC
Should be fixed in mav53 now.
Comment 3 mikhail.voytenko 2009-06-25 10:35:35 UTC
adding cd in CC
Comment 4 carsten.driesner 2009-06-25 12:20:12 UTC
cd: Fix reviewed.
Comment 5 mikhail.voytenko 2009-06-29 11:41:39 UTC
mav->of: Please verify the issue. Unfortunately there is no way to verify that
the unnecessary request does not happen any more, the functionality is still
blocked by other places affecting the scenario of issue 96751. So the only check
that can be done in the QA, is that the fixed functionality still works well.

To check it please do the following:
- copy the attached version of the Common.xml file to the user configuration to
turn system file locking off
- start the office
- create new document and store it
- change the timestamp of the document file ( for example using "touch
<filename>" command )
- change the document in the office and try to store it
The error message should notify that the document has been changed during the
editing
Comment 6 mikhail.voytenko 2009-06-29 11:44:01 UTC
Created attachment 63267 [details]
Configuration file containing entry, that turns using of system file locking off for document files.
Comment 7 Olaf Felka 2009-06-29 11:52:10 UTC
@ tm: Please take over.
Comment 8 thorsten.martens 2009-07-07 13:27:14 UTC
checked and verified in cws mav53 -> OK !
Comment 9 thorsten.martens 2010-03-11 11:31:06 UTC
closed !