Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when scope_id is a Hash #1937

Merged
merged 1 commit into from
Sep 28, 2017
Merged

Fix error when scope_id is a Hash #1937

merged 1 commit into from
Sep 28, 2017

Conversation

mrcasals
Copy link
Contributor

馃帺 What? Why?

We had some errors in Terrassa installation in the proposal filters. I could only reproduce this error by modifying the URL by hand. For some reason, Rails was treating a URL param that should have been an array as a Hash, and this was breaking the form.

This PR handles the case from the form builder side, as I could not reproduce the error on my development machine.

馃搶 Related Issues

None

馃搵 Subtasks

None

@mrcasals mrcasals self-assigned this Sep 27, 2017
@mrcasals mrcasals changed the title Fix error when value is a Hash Fix error when scope_id is a Hash Sep 27, 2017
beagleknight
beagleknight previously approved these changes Sep 27, 2017
@codecov
Copy link

codecov bot commented Sep 27, 2017

Codecov Report

Merging #1937 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #1937      +/-   ##
==========================================
- Coverage   98.48%   98.48%   -0.01%     
==========================================
  Files        1145     1145              
  Lines       25734    25728       -6     
==========================================
- Hits        25345    25338       -7     
- Misses        389      390       +1

@mrcasals mrcasals merged commit 18c02e9 into master Sep 28, 2017
@ghost ghost removed the in-review label Sep 28, 2017
@mrcasals mrcasals deleted the fix/scope-select-bug branch September 28, 2017 06:51
mrcasals added a commit that referenced this pull request Sep 28, 2017
mrcasals added a commit that referenced this pull request Sep 28, 2017
* Show errors on the survey form (#1918)

* Fix embed pages (#1929)

* Fix embed pages

* Add more tests

* Add embed page test for proposals

* Add embed specs for meetings

* Add results embed page spec

* Add embed specs for participatory spaces

* Add CHANGELOG entries

* Fix error when value is a Hash (#1937)

* Add CHANGELOG entry for 0.6.5

* Bump version

* Use latest docker image version on CircleCI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants