To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96611
                 Issue #|96611
                 Summary|First person to open a read-only document has exclusiv
                        |e lock on it. Nobody else than this first user can ope
                        |n it for read-write.
               Component|framework
                 Version|OOo 3.0
                Platform|All
                     URL|
              OS/Version|Unknown
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|tm
             Reported by|chojin





------- Additional comments from [EMAIL PROTECTED] Wed Nov 26 13:48:45 +0000 
2008 -------
We have a few documents which are mainly meant for reference and we don't want
people to make changes to the file by accident. And when a change has to be made
it has to be well thought of.
Already from the time we used MS Office (Excel) we marked those documents to be
opened read-only by default. And when a change has to be made, it can then be
reopened in read-write mode. This way we are certain accidental changes are (as
good as) excluded, and I don't have to find out who opened the document first
and thus has the lock on the file, before I can change the document. If there is
a lock on the file, then we know someone is actually editing the file and not
only having the file open for reference.

When we migrated those documents to OpenOffice (v2.3 back then) we set this
option again on those files: Extra -> Options -> Security -> Open in Read-Only
mode (translated from dutch, don't know the actual English notation) And at
first it seems to work as expected: When the file is opened, it opens in
read-only mode by default. But when a second user tries to open the file for
read-write, OOo complains telling the file is already in use for read-write by
another user (since OOo 3 it even gives us the username of the user who opened
the file first).

Only when the first user toggles from the default read-only mode to read-write
mode and then back to read-only mode, the lock on the file is released and a
second user can switch to read-write mode.

Steps to reproduce:
* Open an existing document or create a new one
* Set Extra -> Options -> Security -> Open in Read-Only mode
* Close the file
* Re-open the file --> The file is opened in Read-Only mode
* Have a second user on the network also open the file --> The file is opened
Read-Only
* Have the second user click on the Open for editing-button --> The user will
get an error about the file being in editing mode by the first user
* Have the first user click on the Open for editing-button --> The file will be
reopened in read-write mode
* Have the first user again click on the Open for editing-button --> The file be
reopened again in read-only mode
* The second user can now press the Open for editing-button and edit the file.

We have seen this issue as of OOo 2.3 through 2.4, 2.4.1 to 3.0. The OS we use
is Windows XP on PC platform, but I assume this is OS and platform independent?

I think this is a defect since a user never expects that he is locking a file
for read-write by opening it read-only.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to