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)

defect

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.
Priority: -- → P3
Whiteboard: p=2
Target Milestone: --- → 2013-06-20
Marked P3 as this is a UI enhancement that, though very important, should probably be deprioritized to core buchet functionality.
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
Note: currently, checkboxes are not pre-checked either when editing an *existing* version that has some features.
Target Milestone: 2013-06-20 → 2013-06-27
Priority: P3 → P1
Assignee: nobody → cvan
Target Milestone: 2013-06-27 → 2013-07-04
Blocks: 858314
Target Milestone: 2013-07-04 → 2013-07-11
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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 → ---
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.
Target Milestone: 2013-07-11 → 2013-07-18
Depends on: 894712
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Whiteboard: p=2 → p=2 [qa+]
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)
(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)
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.