DDC-1411: onCascade property gets wrong value when entities are generated #1767

Closed
opened 2026-01-22 13:25:05 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 10, 2011).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user vinicius.bo:

I'm using this cmd to generate entities "/path/to/php path/to/doctrine orm:generate-entities --generate-annotations="1" ~/some/path".

The CASCADE option for ONDELETE columns is being wrongly generated, the right would be: onDelete="CASCADE" but it is being generated as onDelete=true

Originally created by @doctrinebot on GitHub (Oct 10, 2011). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user vinicius.bo: I'm using this cmd to generate entities "/path/to/php path/to/doctrine orm:generate-entities --generate-annotations="1" ~/some/path". The CASCADE option for ONDELETE columns is being wrongly generated, the right would be: onDelete="CASCADE" but it is being generated as onDelete=true
admin added the Bug label 2026-01-22 13:25:05 +01:00
admin closed this issue 2026-01-22 13:25:06 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 15, 2011):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Oct 15, 2011): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Oct 15, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 15, 2011): 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#1767