Skip to content

How to submit a bug report or a question

Yuri Leikind edited this page Jun 11, 2015 · 5 revisions

Your bug report or a question should always be accompanied by the following:

  • Version of the plugin
  • Version of Rails
  • Version of your browser(s)

If there is an error:

  • A stacktrace of the error. A stacktrace is NOT a screenshot of your browser error page. You can always find it in your logs. A stacktrace looks like this:
arel (6.0.0) lib/arel/visitors/reduce.rb:6:in `accept'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:64:in `block in _sanitize_sql_hash_for_conditions'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:63:in `map'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:63:in `_sanitize_sql_hash_for_conditions'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:74:in `block in merge_conditions'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:72:in `each'
wice_grid (3.4.14) lib/wice/wice_grid_misc.rb:72:in `merge_conditions'
wice_grid (3.4.14) lib/wice_grid.rb:271:in `form_ar_options'
wice_grid (3.4.14) lib/wice_grid.rb:304:in `read'
wice_grid (3.4.14) lib/wice_grid.rb:350:in `resultset'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:661:in `pagination_info'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:617:in `pagination_panel_content'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:398:in `block in grid_html'
wice_grid (3.4.14) lib/wice/grid_renderer.rb:101:in `pagination_panel'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:393:in `grid_html'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:126:in `define_grid'
wice_grid (3.4.14) lib/wice/helpers/wice_grid_view_helpers.rb:76:in `grid'
app/views/ahera/_materials_grid.html.erb:1:in 
[cut]
  • Please always check your JS console. If there is an error there, please copy-paste it into your bug report.

If this is a server side issue

  • Attach your initialize_grid call code
  • Attach relevant view helper code <%= grid() do end %>

When adding code and stacktraces, ALWAYS use github Markdown: https://guides.github.com/features/mastering-markdown/ . Github provides preview functionality for issues. Use it.

When adding Ruby or HTML or CSS code, make sure you specify type of the code attached so that github highlights it correctly.

If your are not ready to spend a minute and correctly format your bug report or a question making it easier for me to read it, then I don't think I am willing to spend my time helping you.