[DRE-maint] Bug#839137: obs-api: Search function does not work

Andrew Lee (=?UTF-8?Q?=E6=9D=8E=E5=81=A5=E7=A7=8B?=) ajqlee at debian.org
Fri Oct 21 05:57:19 UTC 2016


Package: obs-api
Version: 2.7.1-3
Followup-For: Bug #839137

As previous hack fixed permissions for searchd to run. But the search
funcation still not work properly. After investigate, I found following
errors in development mode:

  ActionView::MissingTemplate in Webui::Search#index

  Showing /usr/share/obs/api/app/views/webui/search/_results.html.erb
  where line #35 raised:

  Missing partial kaminari/_paginator with {:locale=>[:en],
  :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw,
  :ruby, :haml]}. Searched in:
    * "/usr/share/obs/api/app/views"

  Extracted source (around line #46):
  44
  45    def find(*args)
  46      find_all(*args).first || raise(MissingTemplate.new(self, *args))
  47    end
  48
  49    def find_file(path, prefixes = [], *args)


  Trace of template inclusion: app/views/webui/search/index.html.erb


And then I checked our ruby-kaminari package. kaminari/_paginator isn't
exist in the package. Any idea?

Best regards,

-Andrew



More information about the Pkg-ruby-extras-maintainers mailing list