Closed
Bug 881834
Opened 12 years ago
Closed 12 years ago
Pre-check features from manifest new version upload
Categories
(Marketplace Graveyard :: Developer Pages, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-07-18
People
(Reporter: chuck, Assigned: cvan)
References
Details
(Whiteboard: p=2 [qa+])
Bug 862443 added capabilities to the validator to detect required features (i.e. buchets) in the validator. We should use this information to pre-check the appropriate feature checkboxes during both new app submission and new version upload to existing apps.
This was previously a part of 875005, but the overlap with new version submission warrants a separate bug.
Reporter | ||
Updated•12 years ago
|
Priority: -- → P3
Whiteboard: p=2
Target Milestone: --- → 2013-06-20
Reporter | ||
Comment 1•12 years ago
|
||
Marked P3 as this is a UI enhancement that, though very important, should probably be deprioritized to core buchet functionality.
Assignee | ||
Comment 2•12 years ago
|
||
Basta already made this happen in Zamboni (bug 862443 and bug 879379).
Summary: Pre-check features from manifest during submission and new version upload → Pre-check features from manifest new version upload
Comment 4•12 years ago
|
||
Note: currently, checkboxes are not pre-checked either when editing an *existing* version that has some features.
Updated•12 years ago
|
Target Milestone: 2013-06-20 → 2013-06-27
Updated•12 years ago
|
Priority: P3 → P1
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → cvan
Updated•12 years ago
|
Target Milestone: 2013-06-27 → 2013-07-04
Updated•12 years ago
|
Target Milestone: 2013-07-04 → 2013-07-11
Assignee | ||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
Buchets are now checked for the original uploaded version in Manage Version page, but are not updated when a new version is uploaded.
Please see screencast http://screencast.com/t/dlmRNk7ZBEq
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•12 years ago
|
||
I'm afraid this is due to caching:
>>> v.features.update(has_sms=True)
>>> AppFeatures.uncached.filter(version_id=1451705)[0].to_list()
[]
>>> v.features.has_sms=True
>>> v.features.save()
>>> AppFeatures.uncached.filter(version_id=1451705)[0].to_list()
[]
>>> AppFeatures.uncached.filter(version_id=1451705)[0].has_sms
False
>>> v.features
<AppFeatures: Version: 1451705: 400.32.1>
>>> v.features == AppFeatures.uncached.filter(version_id=1451705)[0]
True
>>> AppFeatures.uncached.filter(version_id=1451705)[0].to_list()
[]
>>> v.features
<AppFeatures: Version: 1451705: 400.32.1>
>>> v.features.to_list()
[<django.utils.functional.__proxy__ object at 0x25f6d10>]
>>> AppFeatures.uncached.filter(version_id=1451705)[0].to_list()
[]
1 hour later...
>>> AppFeatures.uncached.filter(version_id=1451705)[0] == Version.objects.get(id=1451705).features
True
>>> AppFeatures.uncached.filter(version_id=1451705)[0].to_list()
[<django.utils.functional.__proxy__ object at 0x292fd10>]
>>> Version.objects.get(id=1451705).features.to_list()
[<django.utils.functional.__proxy__ object at 0x292fd10>]
Will try to figure out something.
Assignee | ||
Comment 9•12 years ago
|
||
Target Milestone: 2013-07-11 → 2013-07-18
Assignee | ||
Comment 10•12 years ago
|
||
post-fix screenshot
http://f.cl.ly/items/1g1Q0S1h3S1y0B2k422F/Screen%20Shot%202013-07-16%20at%205.30.27%20PM.png
HECK YEAH!
Assignee | ||
Updated•12 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Whiteboard: p=2 → p=2 [qa+]
Comment 11•12 years ago
|
||
Should the new uploaded version of the app also have Smartphone-Sized Displays feature selected as the first version?
Please see screencast http://screencast.com/t/g2vDbqb8eKp
Flags: needinfo?(cvan)
Assignee | ||
Comment 12•12 years ago
|
||
(In reply to Iulian Timis from comment #11)
> Should the new uploaded version of the app also have Smartphone-Sized
> Displays feature selected as the first version?
> Please see screencast http://screencast.com/t/g2vDbqb8eKp
https://github.com/mozilla/zamboni/commit/9dc1a94
Done - thanks!
Flags: needinfo?(cvan)
Comment 13•12 years ago
|
||
Verified as fixed in https://marketplace-dev.allizom.org/developers/ on FF25 (Win 7).
Postfix screencast http://screencast.com/t/4YmDYxwu
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•