Closed Bug 800086 Opened 12 years ago Closed 12 years ago

App status should be updated from "rejected.." to "pending approval" when a new version is updated

Categories

(Marketplace Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2012-10-11

People

(Reporter: krupa.mozbugs, Assigned: robhudson)

References

()

Details

steps to reproduce: 1. Upload a packaged app. Apps status is "pending approval" 2. As a reviewer, reject the app. 3. Upload a new version which is now "pending approval" 4. Notice the app status. expected behavior: When the app developers uploads a new version to a previously rejected app, the status changes to "pending approval" observed behavior: a) The app status remains "rejected" and there is no way for the developer to seek review. b) The newly uploaded version is not listed in the review queues.
There are some other scenarios that we have to handle, so I'm putting them here to think through... 1. Original bug: New app submitted, reviewer rejects so app status is rejected and version is disabled. On new version is upload, app status doesn't change from rejected status. 2. New app submitted, reviewer rejects so app status is rejected and version is disabled, developer deletes version and app status becomes incomplete. On new version upload, app status doesn't change from incomplete status. The others I'm trying to think are further extensions. For example: 3. App status = rejected Version 1.1 = disabled Version 1.0 = disabled Developer deletes version 1.1 and we see that the status is rejected and there are no public versions -- should we change the status to incomplete? Leave it as-is? Since the developer can't change a version from "Disabled by Mozilla", my vote would be to consider it incomplete. But is it bad that it was rejected and we changed it to incomplete on a version deletion? Should we only set incomplete if there are no versions?
The logic I'm honing in on is this: If app is disabled or deleted: do nothing. If app has no versions or files: set status to incomplete. If app has no public versions and any pending version: set status to pending. I think that covers all the cases above... 1. On new version upload, app would now have 1 pending version, so app status is set to pending. 2. When dev deletes all versions, app status becomes incomplete. And when dev adds a new pending version, app status is set to pending. 3. When dev deletes either disabled version, app status remains rejected because there are no public versions and also no pending versions.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-10-11
Follow up commit to handle blocklisting: https://github.com/mozilla/zamboni/commit/1b53310
Verified as fixed in https://marketplace-dev.allizom.org/developers/ on FF19 (Win 7) Postfix screencast http://screencast.com/t/vcGOh01xhZp Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.