Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Can't Fix
-
Affects Version/s: Git Master
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:PHP 5.3.15, PDO mysql, sumbodule:
git submodule
48dcee9d60459fce1542d11536d465f5d89cff55 library/doctrine (2.2.0-BETA2-160-g48dcee9)
Description
I have a custom type EnumDatatype. If I set single parameter for repository's method findBy everything works fine: value converted to database format (method convertToDatabaseValue invoked). But if I specify array of values of such type it will not convert to database format.
Activity
Valery Dubrava
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description | I have a custom type EnumDatatype. If I set single parameter for repository's method findBy everything works fine: value converted to database format (method convertToDatabaseValue invoked). But if I specify array of values of such type it will not convert and will not work fine. | I have a custom type EnumDatatype. If I set single parameter for repository's method findBy everything works fine: value converted to database format (method convertToDatabaseValue invoked). But if I specify array of values of such type it will not convert to database format. |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Can't Fix [ 7 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-2152, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Hi Valery,
Did you implemented canRequireSQLConversion ?
Could you try to add a failing test case ?
Cheers..