[DDC-2194] [GH-532] Composite primary keys and datetime fields Created: 11/Dec/12  Updated: 22/Feb/14  Resolved: 16/Dec/12

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: All

Type: Bug Priority: Major
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Invalid Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of albertofem:

Url: https://github.com/doctrine/doctrine2/pull/532

Message:

When using composite primary keys and fields with date or datetimes, the UnitOfWork throws an exception like "\DateTime object could not be converted to string".

This patch solves this issue by converting the datetime object into a simple timestamp.



 Comments   
Comment by Benjamin Eberlei [ 16/Dec/12 ]

A related Github Pull-Request [GH-532] was closed
https://github.com/doctrine/doctrine2/pull/532

Comment by Doctrine Bot [ 22/Feb/14 ]

A related Github Pull-Request [GH-532] was closed:
https://github.com/doctrine/dbal/pull/532

Generated at Wed Sep 03 05:27:11 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.