Download & Extend

VOTINGAPI_VALUE_TYPE_TOKEN is greater than 20 characters length limit for column value_type

Project:Voting Actions
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Table voting_actions_conditions has a varchar field called value_type. Its limit is set to 20. Function voting_actions_edit_form_submit in voting_actions.module file trys to insert the value VOTINGAPI_VALUE_TYPE_TOKEN which is larger than 20 characters long. This causes the SQL statement to fail. Please change the length of the table column value_type