Ticket #1234 (closed defect: fixed)

Opened 5 months ago

Last modified 3 months ago

Application-level cascade definition throws Doctrine_Import_Exception in schema file

Reported by: Mosh Owned by: jwage
Priority: minor Milestone:
Component: Schema Files Version: 0.11.0
Keywords: cascade schema validation Cc:
Has Test: no Status: Pending Core Response
Has Patch: no

Description

Trying to define application-level cascade in schema file throws Doctrine_Import_Exception:

Example schema.yml:

...

User: 
  columns: 
    id: 
      primary: true
      autoincrement: true
      type: integer(4)
    group_id:
      type: integer(4)

  relations:
    Group:
      cascade: [delete]
...

Building models will throw Doctrine_Import_Exception with message

Invalid schema element named "cascade"

Change History

Changed 4 months ago by guilhermeblanco

  • status changed from new to closed
  • resolution set to fixed

In r4710 fixed #1234.

Changed 3 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.