Hi,

Suppose you have this schema:

TextElement:
  actAs:
    I18n:
      fields:
        - title
        - short_description
        - content
  columns:
    title:
      type:         string(255)
      notnull:      true
    short_description:
      type:         string(255)
    content:
      type:         clob

Article:
  inheritance:
    extends: TextElement
    type:      column_aggregation

Service:
  inheritance:
    extends: TextElement
    type:      column_aggregation

Product:
  inheritance:
    extends: TextElement
    type:      column_aggregation




In the forms generated based on this schema, I noticed that, for example,
the BaseArticleTranslationForm inherits from "BaseFormDoctrine" instead of
"BaseTextElementTranslationForm" that is the one which it should inherit
from, causing me to duplicate code on each "final" Translation Form.

What could be the problem here? maybe the Translation models are not
inheriting from their Translation parents? in that case, is there an easy
way to fix this that not made me modify the class from which the
BaseTranslationForms inherits?



Thanks!

-- 
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