05 May, 2014
1 commit
-
The migration 20130823151900_associate_fields_to_alternatives.rb from plugin CustomForms? was crashing due to submissions without a form on the database. This is a database inconsistence since there shouldn't be submissions without a form. To fix the problem I'm skipping the on the migration which may crash with a rescue to allow new tries to execute properly, creating a new migration to remove the submissions without form from the database and adding the :dependent => :destroy on form association with submission to avoid the problem in the future. Some people bypassed the migration through manual ways. This people should not worry since the cases which were crashing should not be running at all. ActionItem3130
27 Jan, 2014
3 commits
-
Conflicts: plugins/custom_forms/test/functional/custom_forms_plugin_myprofile_controller_test.rb plugins/custom_forms/views/custom_forms_plugin_myprofile/_form.html.erb plugins/custom_forms/views/custom_forms_plugin_profile/show.html.erb po/pt/noosfero.po
-
(ActionItem2969)
20 Jan, 2014
5 commits
-
I had to put the validation for the length of alternatives in the Field model because, since we are using Single Table Inheritance, we are creating Field objects with the type as a param instead of creating SelectField objects. This way, subclass' validation are skipped. I kept the validation in the SelectField model as well, because we also edit existing SelectField objects. (ActionItem2960)
19 Jan, 2014
6 commits
18 Jan, 2014
1 commit
07 Jan, 2014
1 commit
-
Conflicts: db/schema.rb test/unit/person_test.rb
29 Dec, 2013
6 commits
20 Dec, 2013
1 commit
16 Nov, 2013
2 commits
-
(ActionItem2778)
-
…into merge-requests/370
11 Nov, 2013
7 commits
10 Nov, 2013
1 commit
09 Nov, 2013
5 commits
06 Nov, 2013
1 commit