diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-02-19 11:00:58 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-02-19 18:29:41 +0300 |
commit | f30004819a7c15ad53a863c9648b7d687c5af405 (patch) | |
tree | 67bedae81ab301c077352beceefc9c88a403896b /lib/banzai/filter/emoji_filter.rb | |
parent | 554d9bf606176f7e7515ad8976dff9ef77acd4ca (diff) |
Merge branch 'fix/project-forks-page' into 'master'
workaround for forks with an invalid repo
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13465
The error occurs when a project returns a `nil` commit for a variety of reasons, I assume the repository is corrupt - perhaps as a result of a failed fork.
With this MR, we do not show forks with corrupted repos in the list of forks, as this does not seem to work anyway. A better solution is to fix the cause of the issue and/or any data integrity problem...
Also fixing Sentry issue: 1180
`undefined method 'already_forked?' for nil:NilClass `
See merge request !2836
Diffstat (limited to 'lib/banzai/filter/emoji_filter.rb')
0 files changed, 0 insertions, 0 deletions