DDC-233: Impossible to pass parameters through AbstractQuery::execute method #289

Closed
opened 2026-01-22 12:33:36 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Jan 4, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user cloun:

$query = $this->_em->createQuery("select u from Doctrine\Tests\Models\CMS\CmsUser u where u.username = ?1");
$query->execute(array(1 => 42)); // throws execption 'invalid parameter position 0'

Originally created by @doctrinebot on GitHub (Jan 4, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user cloun: $query = $this->_em->createQuery("select u from Doctrine\Tests\Models\CMS\CmsUser u where u.username = ?1"); $query->execute(array(1 => 42)); // throws execption 'invalid parameter position 0'
admin added the Bug label 2026-01-22 12:33:36 +01:00
admin closed this issue 2026-01-22 12:33:36 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jan 6, 2010):

Comment created by @beberlei:

Fixed in trunk.

@doctrinebot commented on GitHub (Jan 6, 2010): Comment created by @beberlei: Fixed in trunk.
Author
Owner

@doctrinebot commented on GitHub (Jan 6, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Jan 6, 2010): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#289