Closed Bug 705305 Opened 13 years ago Closed 12 years ago

Apps: Validation is showing some pass results but the app was not even found (404 error)

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: johnny.mozbugs, Assigned: kumar)

References

()

Details

Attachments

(2 files, 1 obsolete file)

1. Login via BrowserID to https://apps-preview-dev.allizom.org/
2. Submit an app - make sure you enter https://marblerun.at/manifest.webapp (that is HTTPS instead of Http)
3. Validate.
4. Check the validation report page. You should get 404 Not Found. (mine is https://apps-preview-dev.allizom.org/en-US/developers/upload/50823976c7aa44f4a687aad8728137f2)

Actual results: Error 404 (Not Found) is returned for General Tests. All other test types are saying "Success. All tests have passed". This is wrong because they were not run at all.

Expected results: The other test types should say "Not Executed" (in Gray color).
Summary: Apps: Validation is showing pass results but the app was not even found (404 error) → Apps: Validation is showing some pass results but the app was not even found (404 error)
Attached image validation_results
Blocks: 690899
Assignee: nobody → kumar.mcmillan
Priority: -- → P4
Target Milestone: --- → 6.3.4
Target Milestone: 6.3.4 → 6.3.5
Target Milestone: 6.3.5 → 6.3.6
Blocks: 710074
No longer blocks: 690899
Target Milestone: 6.3.6 → 6.3.7
Target Milestone: 6.3.7 → 6.3.8
Priority: P4 → P3
Target Milestone: 6.3.8 → 6.3.9
Matt, in these validation results the key 'ending_tier' is missing from the JSON dict. That key used to always be there. Can you look into it? The UI uses ending_tier to know which tests didn't run.

Here is the JSON output from the above manifest, from https://marblerun.at/manifest.webapp



{
    "url": "/en-US/developers/standalone-upload/50823976c7aa44f4a687aad8728137f2",
    "full_report_url": "/en-US/developers/upload/50823976c7aa44f4a687aad8728137f2",
    "validation": {
        "errors": 1,
        "messages": [{
            "tier": 1,
            "message": "<a href=\"https://outgoing.stage.mozilla.com/v1/e57a632df8afc11b40e612de1f91840633e16a3c/https%3A//marblerun.at/manifest.webapp\" rel=\"nofollow\">https://marblerun.at/manifest.webapp</a> responded with 404 (Not Found).",
            "type": "error"
        }],
        "success": false
    },
    "upload": "50823976c7aa44f4a687aad8728137f2",
    "error": null
}
Assignee: kumar.mcmillan → mattbasta
Target Milestone: 6.3.9 → 6.4.0
The validator doesn't pull add-ons down from URLs. It looks like that JSON is possibly generated by zamboni.
Aha, whoops, right you are. I forgot this code is a JSON wrapper around Django form errors so the bug needs to be fixed there.
Assignee: mattbasta → kumar.mcmillan
Target Milestone: 6.4.0 → 6.4.1
Fixed https://github.com/mozilla/zamboni/commit/0632d381d3224b9dbcc2caa99be99e8e8b16f9dc
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Cristian, do you mind verifying this bug? Thanks!
Verified as fixed.
Status: RESOLVED → VERIFIED
Attached image Postfix Screenshot. (obsolete) —
Attached image Postfix Screenshot
Attachment #595794 - Attachment is obsolete: true
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

Creator:
Created:
Updated:
Size: