Closed Bug 495928 Opened 16 years ago Closed 16 years ago

"Add release notes" button is not shown when uploading a new file to an existing version

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mossop, Assigned: wenzel)

Details

Attachments

(4 files)

After uploading a new file I am told that I can add release notes by clicking the button below, but there is no button below.
Attached image screenshot
Target Milestone: --- → 5.0.7
Wenzel, can you investigate this? Dave - were you doing anything special here? Does it happen every time?
Assignee: nobody → fwenzel
Just uploading a new file. Happened all of the 3 or 4 times that I did it
Attached image wfm
Hm, I just tried it out a few times and could not reproduce. Is this a problem occurring with some sort of malformed add-on? Or maybe a specific add-on type? I was uploading an extension. Finally, is the button present in the DOM tree yet hidden by something? Or is it gone altogether?
I'm not sure if it happened when creating a new version, perhaps only when uploading a new file for a version
(In reply to comment #5) > I'm not sure if it happened when creating a new version, perhaps only when > uploading a new file for a version Correct, good catch, Dave, I was able reproduce the bug!
Summary: Add release notes button doesn't exist → "Add release notes" button is not shown when uploading a new file to an existing version
Priority: -- → P3
Judging by the code, the button is not supposed to be there, so the string is broken. I'll fix it by adjusting the string.
Attached patch Patch, rev. 1Splinter Review
Some new string goodness. Why the href was supposed to be part of the sprintf, I don't know, and of course it was broken all along. Oh, the target URLs were broken too.
Attachment #383825 - Flags: review?(clouserw)
Status: NEW → ASSIGNED
Comment on attachment 383825 [details] [diff] [review] Patch, rev. 1 It's alright with minor tweaking on this: +"View your new file in the <a href=\"%1$s\">Versions and Files page</a>, " +"check out your add-on's <a href=\"%2$s\">current status</a>." s/file in the/file on the/ and add an "or" after the comma. Stephend would know if the comma should come out altogether.
Attachment #383825 - Flags: review?(clouserw) → review+
Committed to r28262. Thanks.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED on https://preview.addons.mozilla.org/en-US/developers/versions/add/9331 (my own test A9.xml search-engine add-on/plugin).
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: