Can't edit issue description in Gerrit |
|||
Issue descriptionIn https://chromium-review.googlesource.com/417186/ : 1) Using 'git commit --amend' to update the issue description locally combined with 'git cl upload' does not edit the issue description. 2) Clicking 'edit description' yields the following in the console: gerrit_ui-0.js:3696 Tue Dec 06 16:47:51 GMT-800 2016 Class$840 SEVERE: (TypeError) : Cannot read property 'alert' of null Class$S215: (TypeError) : Cannot read property 'alert' of null at Unknown.gP(gerrit_ui-0.js) at Unknown.iP(gerrit_ui-0.js) at Unknown.VHb(gerrit_ui-0.js) at Unknown.YHb(gerrit_ui-0.js) at Unknown.Bbc(gerrit_ui-0.js) at Unknown.Vbc(gerrit_ui-0.js) at Unknown.eval(gerrit_ui-0.js) at Unknown.I1b(gerrit_ui-0.js) at Unknown.L1b(gerrit_ui-0.js) at Unknown.eval(gerrit_ui-0.js) The combination of these two issues make it impossible to edit an issue's description.
,
Dec 7 2016
One more note: I did in fact neglect to copy/paste the Change-Id from the already-uploaded issue when doing "git cl upload" again. However, the update I pushed via "git cl upload" claimed that it went to https://chromium-review.googlesource.com/417186/ , when in fact it went into the bit bucket.
,
Dec 7 2016
Actually I just realized the edit workflow is streamlined on PolyGerrit. https://chromium-review.googlesource.com/?polygerrit=1#/c/417186/ There is an "Edit" link right below the description which lets you edit it in place instead of having to click 239082343 buttons like on the old UI.
,
Dec 7 2016
I use "git push origin HEAD:refs/for/master" after doing git commit --amend. The Change-Id will be used to detect that it's a new patchset for an existing issue. But I agree that "git cl upload" should just be doing all this for you.
,
Dec 7 2016
Sorry, I misunderstood whether I was looking at Gerrit or PolyGerrit. I was using vanilla Gerrit. Corrected this issue's summary.
,
Dec 12 2016
The issue of editing a description has been fixed in Gerrit. Now it just needs to be rolled out. |
|||
►
Sign in to add a comment |
|||
Comment 1 by kbr@chromium.org
, Dec 7 2016Labels: -Pri-1 Pri-2