Pierre Smits commented on OFBIZ-11080:

By intend the view entity is an entity that is defined by the relation between 
the underlying data entities.

In view entities the relation between those data entities is defined by the 
<view-link ..../> element. As an example for the SalesOpportunityAndRole entity:
        <view-link entity-alias="SO" rel-entity-alias="SR" rel-optional="true">
            <key-map field-name="salesOpportunityId"/>

The reason why relations for view entities (without <relation ..> elements) are 
not shown is that there is no equivalent, like the getRelationsIterator, to 
render the relation dataset in modelentity.java.

> View-entity does not show relations to underlying entities
> ----------------------------------------------------------
>                 Key: OFBIZ-11080
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11080
>             Project: OFBiz
>          Issue Type: Bug
>          Components: datamodel
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, 
> Release Branch 15.12, Release Branch 16.11, Release Branch 17.12, Release 
> Branch 18.12
>            Reporter: Pierre Smits
>            Priority: Major
>              Labels: engine, entity, views
> View entities don't show the relations to underlying source entities.

This message was sent by Atlassian JIRA

Reply via email to