Development

#3103 (substitute sfValidator and sfValidatorBase for solving the 1.1 and 1.0 valdator BC problem)

You must first sign up to be able to contribute.

Ticket #3103 (closed defect: fixed)

Opened 9 months ago

Last modified 6 months ago

substitute sfValidator and sfValidatorBase for solving the 1.1 and 1.0 valdator BC problem

Reported by: mahono Assigned to: fabien
Priority: major Milestone: 1.1.0 beta2
Component: validation Version: 1.1.0 DEV
Keywords: Cc:
Qualification: Unreviewed

Description

See http://groups.google.com/group/symfony-users/browse_thread/thread/713c54acfc122f9a/2bf188812af443ba#2bf188812af443ba

Please rename the sfValidator class into sfValidatorBase and sfValidatorBase to sfValidator.

Why? Simply try to use the sfForms11Plugin in a sf 1.0 project: It does not work! The reason is the class naming: sfValidator already exists in a sf 1.0 project leading to unresolvable conflicts.

It's even much easier to migrate existing 1.0 projects if the new base class would have a new name instead of the old one and the need for having to change all the validators..

Change History

03/12/08 21:35:43 changed by fabien

  • milestone set to 1.1.0 beta2.

03/15/08 14:19:11 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

in r7902