Closed
Bug 504602
Opened 16 years ago
Closed 16 years ago
Licenses for Addons are showing up incorrectly
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: davedash, Assigned: davedash)
References
()
Details
Attachments
(1 file)
580 bytes,
patch
|
jbalogh
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5
Build Identifier: 5.0.7
The URL should be showing MPL not MIT
Reproducible: Always
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → dd
Assignee | ||
Comment 2•16 years ago
|
||
Jeff,
I think you attempted to create a function I destroyed, but really there's some "index hell" madness going on:
We get the index of the global $licenses array from the DB, and output that.
Attachment #388988 -
Flags: review?(jbalogh)
Updated•16 years ago
|
Severity: major → critical
Hardware: x86 → All
Comment 3•16 years ago
|
||
Comment on attachment 388988 [details] [diff] [review]
v1
Looks good except for the mad trailing whitespace.
Can you please add `$this->unbindFully();` before $this->findById()? I just noticed it's pulling in every add-on with the license, which is wasteful.
Attachment #388988 -
Flags: review?(jbalogh) → review+
Assignee | ||
Comment 4•16 years ago
|
||
In two revs:
r29885 r29886
awesomepants:~/Projects/Addons/code % git log
(504602-license-F)
commit 78f604467c39d733a492b3e6d1d8dcae7e249f79
Author: ddash@mozilla.com
<ddash@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>
Date: Thu Jul 16 21:06:23 2009 +0000
[bug 504602] Adding unbind fully
git-svn-id: https://svn.mozilla.org/addons/trunk@29886
4eb1ac78-321c-0410-a911-ec516a8615a5
commit 4ae2d25f034f6634236dfa0fc2e10df024ed24d7
Author: ddash@mozilla.com
<ddash@mozilla.com@4eb1ac78-321c-0410-a911-ec516a8615a5>
Date: Thu Jul 16 20:59:25 2009 +0000
[bug 504602] Fixed some index-hell issues with the global license array so
we can output the correct name of
git-svn-id: https://svn.mozilla.org/addons/trunk@29885
4eb1ac78-321c-0410-a911-ec516a8615a5
Assignee | ||
Updated•16 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
Doesn't look fixed to me with https://preview.addons.mozilla.org/en-US/firefox/addons/versions/11423; it has "Source Code License MIT/X11 License", but clicking through to https://preview.addons.mozilla.org/en-US/firefox/versions/license/70477 shows MOZILLA PUBLIC LICENSE
Version 1.1
According to the page source, preview has r29886, so this should be up-to-date.
Eh, maybe it's cache, or something?
Assignee | ||
Comment 6•16 years ago
|
||
I had Jeff verify this.
If it's a cache issue we have a serious problem.
Comment 8•16 years ago
|
||
Comment 5 now works for me; are we still going to push this one-off fix live?
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•