deleting and readding a protected branch
Created by: mcortecchia
Deleting and readding a protected branch will cause the "protected branches" area to become inaccessible
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
Created by: jimothyGator
I didn't find this to be the case. Instead, what I experienced was, if I deleted a protected branch, then went to the protected branches area, I got a 500. The way I fixed this was to re-add the protected branch, unprotected, then delete it again.
By Administrator on 2012-07-23T21:02:39 (imported from GitLab)
Created by: timspin
+1, error from production.log:
Completed 500 Internal Server Error in 324ms
ActionView::Template::Error (undefined method
id' for nil:NilClass): 39: - if branch.name == @project.root_ref 40: %span.label default 41: %td 42: = link_to project_commit_path(@project, branch.commit.id) do 43: = truncate branch.commit.id.to_s, length: 10 44: = time_ago_in_words(branch.commit.committed_date) 45: ago app/views/protected_branches/index.html.haml:42:in
block in _app_views_protected_branches_index_html_haml___529240135_85926150' app/views/protected_branches/index.html.haml:34:ineach' app/views/protected_branches/index.html.haml:34:in
_app_views_protected_branches_index_html_haml___529240135_85926150'By Administrator on 2012-10-30T06:21:58 (imported from GitLab)