#1107 Upon deletion of main project, forks become inaccesible
Closed: Fixed Opened 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.

This is fixed by #1128

Let's close then :)

@pingou changed the status to Fixed

Metadata