Apache OpenOffice (AOO) Bugzilla – Issue 94415
Lockfiles for users with ',' or ';' in name are not parsed correctly; causes saves to error and owner to change.
Last modified: 2009-08-20 23:46:38 UTC
New lockfiles of OpenOffice.org 3 fail to parse escaped characters correctly when the lockfile is read. Having a comma in the name (such as to set a last name suffix) causes the name to be written with a backslash in front of the comma; I think the '\,' comma is still viewed as a comma and the lockfile check begins checking to comparing contents following the comma to the next field and dropping the comma. This results in a lock not being considered as held by the creator. Enhancing the error dialog to say who holds the lock would make the error easy to diagnose. I am not sure if any other characters also cause problems. A temporary workaround is to either manually deleting the lockfile before opening a file (to avoid 'read only') and saving a file or not using the native OOo formats. I have confirmed this to give me trouble on RC1, RC2, and DEV300m30 on FreeBSD and both RC versions on Windows XP and Vista.
TM->MAV: Please have a look, thanks !
Yes, there is a problem if the user name contains ',' and ';' characters. The lock file is not parsed correctly in this case. I would suggest not to use the symbols in the user name as a workaround until the fix is integrated. Setting the target to OOo3.0.1.
The fix is commited to the childworkspace fwk94. The childworkspace will be integrated in OOo3.0.1 version.
Setting fl in CC.
Changing the title accordingly.
mav->tm: Please verify the issue.
*** Issue 95000 has been marked as a duplicate of this issue. ***
Checked and verified in cws fwk94 -> OK !
closed
I'm still getting this problem on 3.0.1. I'm running OOo on XP2 on Parallels on an Intel iMac running OSX 10.5.6. For reference, the lockfile contains the following information (where "foobar" is the username on the mac): ,FOOBAR/Administrator,foobar,09.03.2009 12:44,file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/OpenOffice.org/3; Details: The User Data section in OOo is completely blank. I am opening the file using the "open a file" link in the OOo splash. The file is located withtin my public folder on the mac. After closing OOo (including the QuickStarter), the lockfile is not deleted (not that it should be there in the first place...) I'm wondering if this is related to why I can't double-click on a networked file on the mac for it to open in OOo while browsing it in Windows. Or possibly it thinks that it's being opened in the Mac environment. All I know is it's costing me a lot of productivity at work. My workaround will be reinstalling 2.4.
mav->realgrouchy: First of all, sorry, but you have written yourself that in your case the lock file does not contain the symbols. That mean that you can not have _this_ problem. Secong, as you have already written the problem is that the lock file is not removed during office shutdown in your case. But the lock file you have mentioned is from windows platform. It looks like the file is still open from windows machine "foobar". So for now I see no bug here at all. If you would like to discuss the problem further please open a new issue. I would kindly ask not to mix multiple bugs together.
I'm getting same problem on 3.1.0. When I save and then close file and and try to open it again I get message the object can not be accessed due to insufiecient user rights. (Linux Fedoar) User rights are ok ! It happen just with OO version 3 not older ones. But I see no lock file and I also do not have user name contains ',' and ';' characters.