Apache OpenOffice (AOO) Bugzilla – Issue 116025
Assertion: Error: Unacceptable parameters are provided in Save request!
Last modified: 2017-05-20 10:34:04 UTC
I am running a non-product build of DEV300_m95. To provoke the assertion ... (*) At welcome center, type alt-D to create a Text Document. Program displays blank document Untitled 1. (*) Take menu options File > Save as. Program opens dialog Save As. (*) Type File name /tmp/a3, select file type Microsoft Word 6.0 (.doc) from the dropdown list, leave Automatic file name extension checked, and click Save. Program presents the familiar warning "This document may contain formatting or content that cannot be saved in the Microsoft Word 6.0 file format ..." (*) Click Keep Current Format. Program displays empty document a3.doc; the Save icon in the toolbar is greyed. (*) Type "a". The program displays the typed character in the document and ungreys the Save icon. (*) Click the save icon in the toolbar. Program presents Debug Output ... Error: Unacceptable parameters are provided in Save request! From File /home/terry/OOo_hacking/SRC_DIR/sfx2/source/doc/guisaveas.cxx at Line 695 Abort ? (Yes=abort / No=ignore / Cancel=core dump)
It happened to me again, from Calc and saving in the default (.ods) format. From some small experiments, I think that the program raises the assertion after I do "Save as ..." before doing anything else to the document.
I get the same error, when saving in Draw, not 'saving as' but 'saving' via icon in the standard toolbar. DEV300m95 on WinXP.
*** Issue 116312 has been marked as a duplicate of this issue. ***
transfering target from the duplicate issue 116312
now really
Looks to be my area, taking the issue over.
set target to 3.x since not release relevant for 3.4 release.
The reason is a typo in appuno.cxx I just found it by accident. I'll fix it in my current CWS.
fs->mba: Please kindly put a pointer to the fix here, then. This thing is annoying, I'd like to transplant it to my CWS'es ... Thanks.
Created attachment 76281 [details] suggested patch
The assertion was caused by a typo in appuno.cxx (superfluous line) as well as by a missing treatment of the SID_FAIL_ON_WARNING item.
@mav: please review
The patch looks good.