Adding a new application in Application Manager - formkey mismatch error

RESOLVED FIXED in 1.1

Status

RESOLVED FIXED
14 years ago
3 years ago

People

(Reporter: alex, Assigned: alex)

Tracking

unspecified
x86
Windows XP

Details

Attachments

(1 attachment)

(Assignee)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Dev.CP > Application Manager > Add New Application...
Fill the form and press 'Add Application'.
Red WARNING: FORMKEY MISMATCH! Error, application isn't added.

In appmanager.php there are only two calls to writeFormKey - when !function and
when $function=="editversion". In this case - ($function=="addnewapp") there is
no writeFormKey, thus the verification will fail.


Reproducible: Always

Updated

14 years ago
Target Milestone: 1.0 → 1.1
(Assignee)

Comment 1

14 years ago
Created attachment 171952 [details] [diff] [review]
add a call to writeFormKey in "addnewapp"

My first mozilla patch. Hope I did everything right :)
Attachment #171952 - Flags: first-review?(Bugzilla-alanjstrBugs)

Updated

14 years ago
Attachment #171952 - Flags: first-review?(Bugzilla-alanjstrBugs) → first-review+

Updated

14 years ago
Assignee: Bugzilla-alanjstrBugs → alex
Status: UNCONFIRMED → NEW
Ever confirmed: true
Branch:
Checking in mozilla/webtools/update/developers/appmanager.php;
/cvsroot/mozilla/webtools/update/developers/appmanager.php,v  <--  appmanager.php
new revision: 1.5.2.1; previous revision: 1.5
done

Trunk:
Checking in mozilla/webtools/update/developers/appmanager.php;
/cvsroot/mozilla/webtools/update/developers/appmanager.php,v  <--  appmanager.php
new revision: 1.6; previous revision: 1.5
done
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.