Closed
Bug 750112
Opened 12 years ago
Closed 12 years ago
Flash license dialog in plugin finder service shows Firefox error page
Categories
(Toolkit Graveyard :: Plugin Finder Service, defect)
Toolkit Graveyard
Plugin Finder Service
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: unghost, Assigned: MattN)
Details
Attachments
(1 file)
21.33 KB,
image/png
|
Details |
STR: 1) Open page that requires Flash 2) Try to install Flash 3) In plugin finder service dialog open License agreement page Expected result: License is shown Actual result: Firefox error page is shown
Assignee | ||
Comment 1•12 years ago
|
||
Wil, the Python port of pfs.php (pfs.py) is now being used by PFS but it doesn't return the same output for empty elements. The python version outputs "None" instead of an empty element which causes problems like this one where Firefox tries to load http://None for the licenseURL. Also, the data in pfs.py is older than pfs.php so it should be updated because it's causing all flash installs to fail because the hash is wrong. We should decide which one of these scripts is going to be the canonical one and delete the other from version control (possibly with a comment pointing to the new version). CC'ing oremj since it seems from bug 744162 comment 14 that the change to pfs.py was not well known.
Severity: normal → major
Comment 2•12 years ago
|
||
pfs.php is being served from https://github.com/mozilla/zamboni/blob/master/apps/amo/views.py#L172 and has newer data than the old pfs.php in SVN. Can someone provide a URL on AMO where None is output?
Assignee | ||
Comment 3•12 years ago
|
||
(In reply to Wil Clouser [:clouserw] from comment #2) > Can someone provide a URL on AMO where None is output? https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=application/x-shockwave-flash&appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=2007032403&clientOS=Windowsxp&chromeLocale=en-US
Comment 4•12 years ago
|
||
Thanks. That's https://addons.mozilla.org/services/pfs.php?mimetype=application/x-shockwave-flash&appID={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&appVersion=2007032403&clientOS=Windowsxp&chromeLocale=en-US on AMO and I don't see the "None" there. This is the same question as the other one - I don't know where pfs.m.o gets its data - apparently not AMO. That's why I CC'd oremj
Assignee | ||
Comment 5•12 years ago
|
||
So, is https://github.com/mozilla/zamboni/blob/master/services/pfs.py a WIP? Is the plan to switch to it eventually?
Assignee: nobody → oremj
Comment 6•12 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #5) > So, is https://github.com/mozilla/zamboni/blob/master/services/pfs.py a WIP? > Is the plan to switch to it eventually? I think it was the first version and should be removed.
Comment 7•12 years ago
|
||
We are using /data/www/addons.mozilla.org/zamboni/services/wsgi/pfs.wsgi in dev/stage/production for pfs.mozilla.org.
Updated•12 years ago
|
Assignee: oremj → nobody
Comment 8•12 years ago
|
||
i guess its more or less related to bug 744162
Assignee | ||
Comment 9•12 years ago
|
||
Thanks Jeremy. Wil says we should use pfs.py so here is my fix for the "None" showing up in the XML. https://github.com/mnoorenberghe/zamboni/commit/7875b04aec0008ed62068ab0f5b2b68985514b45 https://github.com/mozilla/zamboni/pull/314 Maybe not the most elegant solution but it gets the job done and doesn't require Jingo/Django to render a view template.
Assignee: nobody → mnoorenberghe+bmo
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•12 years ago
|
||
https://github.com/mozilla/zamboni/commit/7ac2cb7 Will take effect during the next AMO release.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•