Project

General

Profile

Bug #398

The Boolean Field Validator Does Not Convert the Argument Correctly

Added by Luke Murphey over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/22/2012
Due date:
% Done:

100%


Description

See BooleanFieldValidator::to_string which does not convert the the arguments to string correctly:

    def to_string(self, name, value):

        if True:
            return "1" 

        elif False:
            return "0" 

        return str(value)

History

#1 Updated by Luke Murphey over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF