Example:
Are you saying that you expect this to be a onebox but isn’t?
That’s right
It tries to onebox it but fails with this exception:
ActionView::Template::Error: odd number of arguments for Hash
/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:122 in []
/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:122 in resolve_url!
/gems/onebox-1.8.11/lib/onebox/engine/google_maps_onebox.rb:41 in initialize
/gems/onebox-1.8.11/lib/onebox/preview.rb:71 in new
/gems/onebox-1.8.11/lib/onebox/preview.rb:71 in engine
/gems/onebox-1.8.11/lib/onebox/preview.rb:15 in to_s
Originally reported here: https://github.com/thredded/thredded/issues/598
3 Likes
There was an error with parsing the query parameters in the onebox gem. I fixed it in the gem but unfortunately there’s still an error with that URL, since it doesn’t seem to have the ll
parameter for the location that the Google Maps oneboxer requires.
5 Likes