Development

#1175 ([sfDoctrine] Plugin Schema not loading)

You must first sign up to be able to contribute.

Ticket #1175 (closed defect: invalid)

Opened 6 years ago

Last modified 6 years ago

[sfDoctrine] Plugin Schema not loading

Reported by: tiago.ribeiro Assigned to: chtito
Priority: major Milestone: plugins
Component: Version:
Keywords: Cc:
Qualification:

Description

In my main schema i have:

Resource:
  tableName: resource
  inheritance: { extends: Object }

In my plugin config folder I have:

File:
  tableName: file
  inheritance: { extends: Resource }
  columns:
    size:        { type: string(255) }
    mimetype:    { type: string(255) }

When I do

symfony doctrine-build-model

Only the main schema file is loaded

Change History

12/02/06 20:39:47 changed by Tiago.Ribeiro

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

The schema must be inside a folder called doctrine (in the plugin/config folder).

12/02/06 20:42:01 changed by Tiago.Ribeiro

  • status changed from closed to reopened.
  • resolution deleted.

Shouldn't the class files be generated in the plugin lib folder? Right now, when i do:

symfony doctrine-build-model

The class files are putted together with the rest of the class files, generated by project schema.

12/02/06 20:50:44 changed by Tiago.Ribeiro

I guess this is normal.

12/04/06 13:24:53 changed by chtito

  • status changed from reopened to closed.
  • resolution set to invalid.

If you find another issue, please open another ticket, but please don't put several issues in the same ticket. The class files are all put in the same place with sfDoctrine, so in that case there is no anomaly.