The Brand is defined in the plugin's schema.yml as follow.  Nothing fancy
at all.  PluginBrandForm extends BaseBrandForm.

Brand:
  columns:
    id:
      type: integer(4)
      primary: true
      notnull: true
      autoincrement: true
    name:
      type: string(150)
    url:
      type: string(100)
    external_reference:
      type: string(100)
    display_in_overview:
      type: boolean
    text:
      type: clob(65535)
    deleted_by:
      type: integer(4)
  relations:
    BrandMediaItems:
      class: BrandMediaItem
      local: id
      foreign: brand_id
      type: many
  actAs:
    CustomTimestampable:
    I18n:
      fields: [text]
    Archiveable:
    Publishable:
    Siteable:
    SoftDelete:



> What's the underlying inheritance structure? Is the BrandForm model
> represented by a Doctrine behavior plugin? The schema would be useful.
>
> Kind regards,
> Johannes
>
> On 5 Aug., 09:38, "Daniel Kucharski" <[email protected]> wrote:
>> Hi,
>>
>> Thanks for taking time to look into the issue.  I tried what you did and
>> moved the plugin out of the project, rebuild the doctrine classes with a
>> dummy model and moved the plugin back in.  However I am still facing the
>> same issue.  Any other clues?
>>
>> I am using Symfony 1.4.6 by the way.
>>
>> > Sorry, you're right the Plugin* class should be generated inside the
>> > plugin's lib/ folder, not in the project's lib/ folder. Hmm, did you
>> try
>> > moving everything concerning your plugin out of the project, rebuild,
>> then
>> > move it back and rebuild again. I've never had this happening and I've
>> > written a lot of Doctrine plugins. :)
>>
>> > Sent from my iPhone
>>
>> > On Aug 4, 2010, at 11:45 PM, "Daniel Kucharski" <[email protected]>
>> > wrote:
>>
>> >> In,
>>
>> >> In the progress of moving some of my doctrine / symphony 1.4 based
>> >> project to a plugin I am facing problems generating form classess
>> >> located in the new plugin.
>>
>> >> Beneath an excerpt of generated classes in this folder:
>>
>> >> /lib/forms/base/PluginBrandForm.class.php
>>
>> >> /lib/forms/doctrine/base/BasePluginBrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BrandForm.class.php
>>
>> >> /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>>
>> >> I don t understand why /lib/forms/base/PluginBrandForm.class.php was
>> >> generated and why /lib/forms/sfXeriasPlugin/BaseBrandForm.class.php
>> >> extends class PluginBrandForm
>>
>> >> I already have rebuild the whole project and of course cleared the
>> >> cache.  Anyone thoughts how to resolve this issue?
>>
>> >> Additional info: the project itself has no forms anymore, everything
>> has
>> >> been moved to the plugin.
>>
>> >> Kind regards,
>>
>> >> Daniel
>>
>> >> --
>> >> If you want to report a vulnerability issue on symfony, please send
>> it
>> >> to security at symfony-project.com
>>
>> >> You received this message because you are subscribed to the Google
>> >> Groups "symfony users" group.
>> >> To post to this group, send email to [email protected]
>> >> To unsubscribe from this group, send email to
>> >> [email protected]
>> >> For more options, visit this group at
>> >>http://groups.google.com/group/symfony-users?hl=en
>>
>> > --
>> > If you want to report a vulnerability issue on symfony, please send it
>> to
>> > security at symfony-project.com
>>
>> > You received this message because you are subscribed to the Google
>> > Groups "symfony users" group.
>> > To post to this group, send email to [email protected]
>> > To unsubscribe from this group, send email to
>> > [email protected]
>> > For more options, visit this group at
>> >http://groups.google.com/group/symfony-users?hl=en
>>
>>
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>


-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to