#3048 Do not crash when getting the branches ready for PR on a fork with no parent
Merged by pingou. Opened by pingou.
fix_fork_wo_parent  into  master

Download 3048.patch

If a fork has no parent and you visit it's overview page, this code will
crash as it will try to access the settings of the parent project that
no longer exists.

Fixes an error reported automatically by email

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

This could use some unit-tests but it'll have to wait for another day :)

:thumbsup:

rebased onto 8056b16368c9322d74bcc7fa8dc5686378798dab

rebased onto 3814be0e2de7dd488dcdcc101254611e118adf52

Someone to review the new version?

:thumbsup:

Thanks :)

rebased onto fbbe78d2a71e5f072200d4970929b03e1396a35f

Pull-Request has been merged by pingou

Metadata