Development

#3148 (sfPropelVersionableBehaviorPlugin: Problems when PK is varchar)

You must first sign up to be able to contribute.

Ticket #3148 (new defect)

Opened 7 months ago

Last modified 7 months ago

sfPropelVersionableBehaviorPlugin: Problems when PK is varchar

Reported by: benno Assigned to: trivoallan
Priority: minor Milestone:
Component: sfPropelVersionableBehaviorPlugin Version:
Keywords: Cc:
Qualification: Unreviewed

Description

I am testing the current trunk version of the plug in.

In this version the uuid has been replaced by a simple composite key class name + id. The problem is now when the PK is not a integer (column resource_id), the versions will be created randomly.

In our case the PK is a VARCHAR(255), i have changed column resource_id of schema.yml on the plug in, and now it works as expected.

Change History

03/21/08 23:53:48 changed by francois

hm, I wonder if this shouldn't be left to the sfPropelAlternativeSchemaPlugin...