Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Propel Validators in Schema.xml #5097

Closed
crossan007 opened this issue Nov 15, 2019 · 1 comment
Closed

Evaluate Propel Validators in Schema.xml #5097

crossan007 opened this issue Nov 15, 2019 · 1 comment
Milestone

Comments

@crossan007
Copy link
Contributor

crossan007 commented Nov 15, 2019

Schema.xml validations updated in 3d0504c seem to no longer work with the updated composer.json files in these commits:

3f01697
6b98e91
5110c31

Error message given include:

In Inline.php line 450:
                                                                                                                                                                 
  Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}") at line 1 (near "{column: per_firstname, validator: Length   
  , options: {min:2, max: 50}}").                                                                                                                                
                       
In Inline.php line 450:
                                                                                                                                                                 
  Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}") at line 1 (near "{column: linkname, validator: Length, opt   
  ions: {min:2, max: 50}}").

It looks like the validate behavior may be deprected in Propel2? (propelorm/Propel2#1184)

@crossan007
Copy link
Contributor Author

This is "fixed" by locking symfony.yml to 3.4.x: a5ac28e

propelorm/Propel2#1526

@crossan007 crossan007 added this to the 4.0.0 milestone Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants