CakeDC/tags

Validation::notEmpty() is deplecated in CakePHP 2.7.

Closed this issue · 4 comments

Because Tag model is using 'notEmpty' validation, Unit testing is failed in CakePHP 2.7.

https://github.com/CakeDC/tags/blob/master/Model/Tag.php#L45-L48

hi @okinaka I would keep BC in the tags plugin to CakePHP versions below 2.7 too, using a custom validation rule instead, Thank you for pointing that out I'll keep this as a "bug" to be fixed

@steinkel Ok, I will try to create custom validation rule. What name shall I make it?

Fixed #102 for custom validation.

This should be fixed now in release 1.6.1