Skip to content

[Bug]: sync_promoted_addons integrity error when promoted approval has no application_id #15488

@KevinMind

Description

@KevinMind

What happened?

when running sync_promoted_addons we attempt to create PromotedAddonVersion instances from existing PromotedApproval instances.. however this causes db errors when the approval has no application_id as the version requires it.

What did you expect to happen?

we should skip no application_d approvals as "non-approved" should equate to non-existent in the new model

Is there an existing issue for this?

  • I have searched the existing issues

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions