Project

General

Profile

Actions

Bug #3162

open

Integer smart class parameter doesn't work with list validator

Added by Dominic Cleal over 11 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The list validator on smart class params/variables doesn't work when parameter data type is changed to integer. I think the value is being cast to an int, then validated against a list of strings.

e.g. with one of our test fixtures

ActiveRecord::RecordInvalid: Validation failed: Value 8443 is not one of 443,8443

No data to display

Actions

Also available in: Atom PDF