Hi everyone,

while I was working onJira Issue OFBIZ-10327 <https://issues.apache.org/jira/browse/OFBIZ-10327> and 10328 <https://issues.apache.org/jira/browse/OFBIZ-10328> I stumbled across the entity definition for ProductCategoryAttribute  (in /ofbiz/applications/datamodel/entitydef/product-entitymodel.xml).

The last lines of the definition state:

  <relation type="many" rel-entity-name="ProductCategoryTypeAttr">
        <key-map field-name="attrName"/>
  </relation>

I am quite new to this, but I think this statement does not make sense.
a) The primary key of ProductCategoryAttribute is composite. Just the field "attrName" does not suffice for a relation to another table, if I am not mistaken. b) I am not quite sure about the nature of a relation between CategoryAttribute and CategoryTypeAttribute.

Does anyone have background knowledge to this and can perhaps explain or even verify that this is obsolete?

Many thanks, yours Benjamin


Reply via email to