Defect #25222

404 error when visiting project's repository tab without a main repository

Added by LluĂ­s Vilanova over 2 years ago. Updated over 2 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution: Affected version:

Description

I have a newly created project with some repositories, but none of them is marked as "main". If I now go to the repository tab, redmine shows a nice error page, saying it could not find an entry or revision in the repo (number 404). More importantly, the non-main repositories do not appear on the side-bar, where they usually are.

If I create an empty main repository using git the error persists, since git has no initial commit in it.

Only after I do some initial commit on the main repo, I can see the list of sub-repos in that project.

History

#1 Updated by Jean-Philippe Lang over 2 years ago

  • Status changed from New to Needs feedback

With no repository set as default, the Repository tab should not even be displayed. Did you change this behaviour?

Also available in: Atom PDF