bug: 106338 title: Editing a bug targeted to a release crashes if you directly edit the untargeted task date-reported: Fri, 13 Apr 2007 20:51:57 -0000 date-updated: Wed, 01 Jun 2011 12:35:22 -0000 reporter: Diogo Matsubara (matsubara) duplicate-of: duplicates: attachments: patches: tags: lp-bugs oops qa-ok subscribers: Diogo Matsubara (matsubara) Ursula Junque (ursinha) task: launchpad status: Fix Released date-created: Fri, 13 Apr 2007 20:51:57 -0000 date-confirmed: Fri, 13 Apr 2007 20:54:36 -0000 date-assigned: Wed, 25 May 2011 12:35:03 -0000 date-inprogress: Wed, 25 May 2011 12:35:06 -0000 date-closed: Wed, 01 Jun 2011 12:35:22 -0000 date-fix-committed: Fri, 27 May 2011 23:50:43 -0000 date-fix-released: Wed, 01 Jun 2011 12:35:22 -0000 reporter: Diogo Matsubara (matsubara) importance: Critical assignee: Graham Binns (gmb) milestone: Content-Type: multipart/mixed; boundary="===============1903613207958023635==" MIME-Version: 1.0 --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Steps to reproduce (using sample data): 1. Open bug http://bugs.launchpad.dev/debian/+source/mozilla-firefox/+bug/3= /+editstatus 2. Change any attribute, like status 3. Crash like OOPS-466C886 ConjoinedBugTaskEditError: This task cannot be edited directly, it should be +edited through its conjoined_master. Recent OOPSes: OOPS-1003EB184, OOPS-1003EB185, by editing the URL (+editstatus-page) and following the step 2 Also: OOPS-1187EC1485, OOPS-1187EC1486, OOPS-1223EC191 --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Diogo Matsubara (matsubara) Date: Fri, 13 Apr 2007 20:54:36 -0000 Message-Id: <20070413205436.9550.51234.malone@gangotri.ubuntu.com> Setting importance to low as this doesn't happen often and the needs manul URL editing to reach the edit bug status page. --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Curtis Hovey (sinzui) Date: Tue, 01 Mar 2011 15:18:47 -0000 Message-Id: <20110301151848.29565.96923.malone@soybean.canonical.com> I think there are ways to reach this oops. Experienced users know to hack +editstatus to the distribution bug. This is less common now that the UI does inline editing and it does not do it for the conjoined slave. This can still happen when there is a collision between someone who targets to the current series while someone else is changing the distribution bug. So while we do not want the +editstatus form to display for conjoined slaves, the view will still need to handle submit cases in __init__ or initialize(). I think the form needs to explain that only the master can be edited, and link to the master (the current targeted series). That message could be an info notifcation. The form field could be disabled, or the form not rendered at all. The most common occurrence of this bug is via the API. I think ConjoinedBugTaskEditError should be converted to a HTTP error. --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Curtis Hovey (sinzui) Date: Sat, 05 Mar 2011 05:25:35 -0000 Message-Id: <20110305052535.16153.12905.malone@potassium.ubuntu.com> This fix for this bug may also fix bug 556515. --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad QA Bot (lpqabot) Date: Wed, 16 Mar 2011 05:15:56 -0000 Message-Id: <20110316051556.889.52883.malone@soybean.canonical.com> Fixed in stable r12604 . --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Leonard Richardson (leonardr) Date: Wed, 16 Mar 2011 13:00:56 -0000 Message-Id: <20110316130056.18856.21088.malone@palladium.canonical.com> As it happens, the fix to bug 556515 did _not_ fix this bug. I should have linked but 556515 to my branch instead of this bug. --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Robert Collins (lifeless) Date: Wed, 20 Apr 2011 05:51:08 -0000 Message-Id: <20110420055109.3819.30332.malone@chaenomeles.canonical.com> One way to fix this is just to reflect the edits onto the master too; alternatively if we can get rid of conjoined masters this issue will simply vanish. --===============1903613207958023635== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Launchpad QA Bot (lpqabot) Date: Fri, 27 May 2011 23:50:45 -0000 Message-Id: <20110527235045.18221.11454.malone@soybean.canonical.com> Fixed in stable r13131 . --===============1903613207958023635==--