Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
Field definition:
/** @Id @Column(type="string", name="`key`") */ private $_key;
When removing entity mysql.log shows this:
36 Query START TRANSACTION
36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312'
36 Query rollback
It seems that on a remove statement the field names aren't being wrapped in back ticks.
Activity
Alex Mamut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Field definition:
<code> /** @Id @Column(type="string", name="`key`") */ private $_key; </code> When removing entity mysql.log shows this: <code> 36 Query START TRANSACTION 36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312' 36 Query rollback </code> It seems that on a remove statement the field names aren't being wrapped in back ticks. |
Field definition:
{code} /** @Id @Column(type="string", name="`key`") */ private $_key; {/code} When removing entity mysql.log shows this: {code} 36 Query START TRANSACTION 36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312' 36 Query rollback {/code} It seems that on a remove statement the field names aren't being wrapped in back ticks. |
Alex Mamut
made changes -
| Description |
Field definition:
{code} /** @Id @Column(type="string", name="`key`") */ private $_key; {/code} When removing entity mysql.log shows this: {code} 36 Query START TRANSACTION 36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312' 36 Query rollback {/code} It seems that on a remove statement the field names aren't being wrapped in back ticks. |
Field definition:
{code} /** @Id @Column(type="string", name="`key`") */ private $_key; {code} When removing entity mysql.log shows this: {code} 36 Query START TRANSACTION 36 Query DELETE FROM `settings` WHERE section = 'Test123' AND key = 'test12312' 36 Query rollback {code} It seems that on a remove statement the field names aren't being wrapped in back ticks. |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Awaiting Feedback [ 10000 ] |
Benjamin Eberlei
made changes -
| Status | Awaiting Feedback [ 10000 ] | Open [ 1 ] |
Benjamin Eberlei
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Cannot Reproduce [ 5 ] |
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-2307, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Which version are you using? This has been fixed at some point