Skip to content

Editing campaign can leave orphaned campaign-stages #109

@marcmengel

Description

@marcmengel

It looks like around here:
https://github.com/fermitools/poms/blame/develop/webservice/CampaignsPOMS.py#L1580
we detach campaign stages from their campaign, and then later hopefully (re)attach stages that are listed in the save data, which can leave orphaned campaign stages.
We should probably figure out which stages need to be detached (and deleted?) and try to clean them up, or leave them attached
to the campaign but maybe hidden or something.
In particular, campaign stages which are detatched and/or deleted need any cron launches that were associated removed.
If we're not going to delete them, we need maybe a lost&found campaign that we attach them to so that submissions for that
stage are still viewable, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions