#1107 Upon deletion of main project, forks become inaccesible
Closed: Fixed 7 years ago Opened 7 years ago by puiterwijk.

When the main project /testproject gets deleted, that sets parent_id to null or it becomes invalid for any /user/testproject (aka, forks).
This means that due to https://pagure.io/pagure/blob/master/f/pagure/lib/__init__.py#_1574, those forks become inaccessible, even though they still exist.


It's happening because model.Project.parent_id != None so on cascade the parent gets deleted and so this column.

@pingou changed the status to Fixed

7 years ago

Login to comment on this ticket.

Metadata