Closed Bug 562097 Opened 15 years ago Closed 15 years ago

Change persona 'custom license' to 'All rights reserved'

Categories

(addons.mozilla.org Graveyard :: Public Pages, enhancement, P5)

x86
All
enhancement

Tracking

(Not tracked)

RESOLVED FIXED
4.x (triaged)

People

(Reporter: rdoherty, Assigned: clouserw)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Restricted licensed personas currently say 'custom license' which isn't very descriptive. Better wording would be 'All rights reserved'.
Target Milestone: 5.10 → 5.11
I think this is caused by there not being any license data in the preview database (i.e. the database fields are there, but they are all NULL). Likewise for daily users.
You just need to change the text in amo/__init__.py
Assignee: nobody → clouserw
(In reply to comment #2) > You just need to change the text in amo/__init__.py That will affect add-ons with real custom licenses too.
This is because personas don't have versions but it was FKing to the versions table. Here is a patch that fixes it.
Attachment #446526 - Flags: review?(jbalogh)
Comment on attachment 446526 [details] [diff] [review] local patch to keep things spicy! r- based on IRC conversations not recorded anywhere.
Attachment #446526 - Flags: review?(jbalogh) → review-
http://pastebin.mozilla.org/726304 fixes this bug, but it breaks our tests (that's right, I ran the test suite) because django can't create the FK relationship. I've tried adding db_index, but it runs indexes (sqlindexes) after creation (sql) so that doesn't work either.
Attached patch fixSplinter Review
Alright, I'm adding the patch that fixes this here. I think we're running into a Django bug here, so I reopened it on their end and we'll see: http://code.djangoproject.com/ticket/12421#comment:3 In the mean time, this isn't critical so I'm kicking it out of 5.11.
Attachment #446526 - Attachment is obsolete: true
Target Milestone: 5.11 → 4.x (triaged)
Severity: normal → enhancement
Priority: -- → P5
Target Milestone: 4.x (triaged) → 5.12.3
This will be fixed by bug 602034. I gave metrics the wrong instructions for their metadata imports since license were so wacky.
Depends on: 602034
Target Milestone: 5.12.3 → 4.x (triaged)
Fixed in bug 602034.
Status: NEW → RESOLVED
Closed: 15 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.

Attachment

General

Created:
Updated:
Size: