To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69232
                 Issue #|69232
                 Summary|new file save error
               Component|framework
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mba
             Reported by|jianhuajiao





------- Additional comments from [EMAIL PROTECTED] Mon Sep  4 02:46:03 -0700 
2006 -------
Create and save a new file will throw an exception. 
"Error saving document Untitled: Object not accessible. The object cannot be
accessed due to insufficient user rights"

in sfx2 docfile.cxx, the orig SfxMedium's error number is set. and this will 
cause
error detect failed in  SfxObjectShell::SaveTo_Impl in objstor.cxx.
I don't know this why this problem is caused in ood-m1. but it can be solved by
change:

if ( !GetError() && !pImp->xStream.is() && !pImp->xInputStream.is())
to:
if ( !GetError() && !pImp->xStream.is() && !pImp->xInputStream.is() && pURLObj)

the pURLObj can check the file is a newer or an opened file ( based on GDB :) )

---------------------------------------------------------------------
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