Development

#2467 ([PATCH] sfPropelUniqueValidator race)

You must first sign up to be able to contribute.

Ticket #2467 (closed documentation: fixed)

Opened 9 months ago

Last modified 4 months ago

[PATCH] sfPropelUniqueValidator race

Reported by: Rihad.Haciyev Assigned to: Carl.Vondrick
Priority: minor Milestone: 1.0.13
Component: validation Version: 1.0.8
Keywords: Cc:
Qualification: Ready for core team

Description

For obvious reasons sfPropelUniqueValidator is open to race conditions in multiuser environments, as subsequent SQL INSERT may fail with a duplicate error even if the validator succeeds. It should be emphasized that the validator is informational only, and that the information may change the moment it returns, so the user must still be ready for the duplicate INSERT error.

Attachments

10-Forms.txt.patch (0.7 kB) - added by Carl.Vondrick on 02/25/08 06:18:27.
Patch for symfony book.
sfPropelUniqueValidator.class.php.patch (0.8 kB) - added by Carl.Vondrick on 02/25/08 06:18:44.
Patch for phpdoc.

Change History

02/25/08 06:18:27 changed by Carl.Vondrick

  • attachment 10-Forms.txt.patch added.

Patch for symfony book.

02/25/08 06:18:44 changed by Carl.Vondrick

  • attachment sfPropelUniqueValidator.class.php.patch added.

Patch for phpdoc.

02/25/08 06:19:01 changed by Carl.Vondrick

  • owner changed from fabien to Carl.Vondrick.
  • status changed from new to assigned.
  • type changed from enhancement to documentation.
  • qualification changed from Unreviewed to Ready for core team.

02/25/08 07:43:18 changed by Carl.Vondrick

  • summary changed from sfPropelUniqueValidator race to [PATCH] sfPropelUniqueValidator race.

03/22/08 17:07:26 changed by Carl.Vondrick

(In [8046]) 1.0 doc: added warning to sfPropelUniqueValidator (refs #2467)

03/22/08 17:10:01 changed by Carl.Vondrick

(In [8047]) 1.1: added warning to sfPropelUniqueValidator (refs #2467)

03/22/08 17:11:43 changed by Carl.Vondrick

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

(In [8048]) 1.1 doc: added warning to sfPropelUniqueValidator (closes #2467)

03/22/08 17:15:38 changed by Carl.Vondrick

  • milestone set to 1.0.13.