500 when viewing a project forked from a one with no commits
Happens here: https://github.com/gitlabhq/gitlabhq/blob/6b27265007c49476f90e94122bd6d2f494960700/app/helpers/projects_helper.rb#L147
No route matches {:action=>\"show\", :controller=>\"projects/compare\", :from=>nil, :from_project_id=>12671, :id=>\"prime\", :namespace_id=>#<Group id:18
795 @os/students-fall-2023>, :project_id=>#<Project id:12674 os/students-fall-2023/prime>>, :to=>\"submits/hello_world\"}, possible unmatched constraints: [:from]\nDid you mean? namespace_project_compare_path
Edited by 🤖 GitLab Bot 🤖