Vote's value_type field, has a default value of percent. This is fairly arbitrary. Instead, I think, the value that is configured as part of the vote type should be used. A default value callback could be used for that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tstoeckler created an issue. See original summary.

tstoeckler’s picture

TR’s picture

Status: Needs review » Needs work

Patch no longer applies and needs to be rerolled.

TR’s picture

Here's a re-roll and an update. This seems like a good clean up and gets us one step closer to properly dealing with values stored in value_type. See the related issue for more discussion about value_type.

Status: Needs review » Needs work

The last submitted patch, 4: 2897495-4-default-value-type.patch, failed testing. View results