DDC-2736: Error generating annotations of index in Entities #3425

Open
opened 2026-01-22 14:19:37 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 11, 2013).

Originally assigned to: @guilhermeblanco on GitHub.

Jira issue originally created by user tineo:

<?php // /**** ``` @ORM\Entity @ORM\Table(name="opportunities",indexes={@ORM\index(name="idx*opp_name", columns={"name"}),@ORM\index(name="idx_opp_assigned", columns={"assigned_user*id"})}) ****/ // ``` @ORM\index instead of @ORM\Index // ?>

throw this error

[Doctrine\Common\Annotations\AnnotationException]

[Semantical Error] The annotation "@Doctrine\ORM\Mapping\index" in class CRM\Entity\Opportunities does not exist, or could not be auto-loaded.

Originally created by @doctrinebot on GitHub (Oct 11, 2013). Originally assigned to: @guilhermeblanco on GitHub. Jira issue originally created by user tineo: <?php // /**** ``` @ORM\Entity @ORM\Table(name="opportunities",indexes={@ORM\index(name="idx*opp_name", columns={"name"}),@ORM\index(name="idx_opp_assigned", columns={"assigned_user*id"})}) ****/ // ``` @ORM\index instead of @ORM\Index // ?> throw this error [Doctrine\Common\Annotations\AnnotationException] [Semantical Error] The annotation "@Doctrine\ORM\Mapping\index" in class CRM\Entity\Opportunities does not exist, or could not be auto-loaded.
admin added the Bug label 2026-01-22 14:19:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3425