Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5731290C0 for ; Mon, 25 Jun 2012 08:21:01 +0000 (UTC) Received: (qmail 9135 invoked by uid 500); 25 Jun 2012 08:21:00 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 8995 invoked by uid 500); 25 Jun 2012 08:21:00 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 8985 invoked by uid 99); 25 Jun 2012 08:21:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 08:21:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zheng.easyfan@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gh0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 08:20:53 +0000 Received: by ghbz2 with SMTP id z2so2444258ghb.6 for ; Mon, 25 Jun 2012 01:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=U/TeA40IwmNLKBY1BarE5vkwAy8R/5HslVakGp8IS7M=; b=hsAgriDZbAMtuIsVoB/Gv54yazHiH5i6KGw8B4qb9DfTTph8gj0zazrdDA5PiYPEvf QTYZ9+0QAfYI9F5lhfzq4KypCwM2BCtLv2h82lSPcnbDExRe6AwDHvlWHLzZ1cUrCW0y cl/MB4Qr5RJ3dSbX54dku3YYki3wJvxbxs+mpbEDXOPkawNsi4mo/TFxViQV+ZNwg6zv HPJaZeQF2EK3v7/J0iv8QfP9svvFClkyXT2rZ8g9mc5x+vfIjZCa863IVDsa/Vy3nR2r uO8sOgiOWODyFbbsNZ+npoqRr41H4ezytLDyMi5Wj4yZVH6TGyHU5WU9tZX3s7ahSGYS sf4Q== MIME-Version: 1.0 Received: by 10.236.76.133 with SMTP id b5mr12328088yhe.91.1340612432134; Mon, 25 Jun 2012 01:20:32 -0700 (PDT) Received: by 10.236.103.100 with HTTP; Mon, 25 Jun 2012 01:20:32 -0700 (PDT) In-Reply-To: <4FE080DB.5050406@googlemail.com> References: <4FE080DB.5050406@googlemail.com> Date: Mon, 25 Jun 2012 16:20:32 +0800 Message-ID: Subject: Re: Propose for 3.4.1: Can't remove password from file (119366) From: Fan Zheng To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf300face7cc837104c347a76d --20cf300face7cc837104c347a76d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, All: This issue was solved, now call for the reviewers. In general, this is a setting confusion issue. In current saving process, both SID_ENCRYPTIONDATA and SID_PASSWORD are working for setting password on a document. Refer to the SfxObjectShell::ExecFile_Impl() in file SRC/sfx2/source/doc/objserv.cxx:line 595-599 please. And, as what we imagine, after doing the file dialog executing with deselecting the check box of "Save with password", the result parameter set, which is to customize saving process, wont record said 2 SID inside anymore, for indicating that the following saving process will not concern about the password stuff anymore. But when performing the exact preparation SaveAs process in SfxobjectShell::PreDoSaveAs_impl(), only the the default SID_PASSWORD was cleared, but SID_ENCRYPTIONDATA was not. The issue happens. For solving it, we just simply add the item SID_ENCRYPTIONDATA clearing in SfxobjectShell::PreDoSaveAs_impl(), similar as the SID_PASSWORD. 2012/6/19 J=FCrgen Schmidt > On 6/18/12 1:16 AM, Rob Weir wrote: > > https://issues.apache.org/ooo/show_bug.cgi?id=3D119366 > > > > This is a regression introduced in OOo 3.4 beta but not detected in > > AOO 3.4 tested. Once a password is set it cannot be removed. Two > > users have reported it. > > > > -Rob > > > can we agree on subject line like > > [RELEASE][3.4.1]: .... > > that makes it easier to track all release relevant things > > > +1 for this issue > > Juergen > > > --20cf300face7cc837104c347a76d--