https://bugs.documentfoundation.org/show_bug.cgi?id=90837

--- Comment #7 from Justin L <[email protected]> ---
This hits objserv.cxx "Fatal IO error during save" exception
p aErrorEx
$2 = (const com::sun::star::task::ErrorCodeIOException &) @0x555559be99a0:
{<com::sun::star::io::IOException> = {<com::sun::star::uno::Exception> = {
      Message = "SfxBaseModel::storeSelf: 0x507
/persistent/git/libreoffice2/sfx2/source/doc/sfxbasemodel.cxx:1685", Context =
empty uno::Reference}, <No data fields>}, ErrCode = 1287}

This comes from sfx2/source/doc/docfile.cxx
The document is still considered read only because
                bReadOnly = !( GetOpenMode() & StreamMode::WRITE );  


Ultimately, the error is set by
            if ( !bLoading || (pReadOnlyItem && !pReadOnlyItem->GetValue()) )
                SetError(ERRCODE_IO_ACCESSDENIED);
since it is not bLoading.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to