gitlab-org--gitlab-foss/features
Dmitriy Zaporozhets 16db51ec58 Merge branch 'fix-wiki-search' into 'master'
Fix Error 500 when searching Wiki pages

If a Wiki page turns up a hit in the search results, an error will occur:

```
Completed 500 Internal Server Error in 836ms

NoMethodError - undefined method `slug' for "test.markdown":String:
  app/helpers/wiki_helper.rb:10:in `namespace_project_wiki_path'
  app/views/search/results/_wiki_blob.html.haml:4:in `_app_views_search_results__wiki_blob_html_haml___2752621660395393333_70299911622700'
  actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
  activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:143:in `render'
```

An unhandled String containing the name of the Wiki page would be provided to the URL path generator. This MR handles that case.

Closes #1547

See merge request !592
2015-05-04 08:53:21 +00:00
..
admin Fix bug where Slack service channel was not saved in admin template settings. 2015-04-24 08:33:24 -07:00
dashboard Revert help link tests removal 2015-04-15 12:13:49 +03:00
explore Fix spinach tests 2014-12-24 14:34:37 +02:00
profile Move Profile groups tests to Dashboard group tests 2015-03-08 20:52:22 -07:00
project Fix DB error when trying to tag a repository 2015-04-27 06:09:20 -07:00
snippets Fix raw view for public snippets 2014-10-27 11:51:31 +02:00
steps Merge branch 'fix-wiki-search' into 'master' 2015-05-04 08:53:21 +00:00
support Don't use capybara-screenshot in CI environments 2015-04-25 21:33:17 -04:00
groups.feature Add feature tests for inviting members. 2015-04-14 12:08:11 +02:00
invites.feature Add spinach tests around accepting and declining invitations. 2015-04-14 18:04:29 +02:00
search.feature Fix Error 500 when searching Wiki pages 2015-04-30 08:54:08 -07:00
snippet_search.feature Updating to persist a params snippets variable 2014-09-05 13:30:55 -04:00
user.feature Refactor contributions events and write tests for calendar 2015-03-22 13:55:00 -07:00