[jira] [Commented] (OFBIZ-5210) view-entity cannot be extended

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5210) view-entity cannot be extended

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955674#comment-13955674 ]

Jacques Le Roux commented on OFBIZ-5210:
----------------------------------------

Michael,

I did not check Skip's assertion, but he said it was working in R09.04 http://markmail.org/message/4yjux4vzhicspxw4

To be continued...

> view-entity cannot be extended
> ------------------------------
>
>                 Key: OFBIZ-5210
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5210
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04
>         Environment: Windows / Linux
>            Reporter: Skip Dever
>            Priority: Minor
>             Fix For: Release Branch 12.04
>
>
> For example, add the following to the bottom of entitymodel_view.xml in applications\workeffort\entitydef
>     <extend-entity entity-name="WorkEffortAndPartyAssign">
>         <relation type="one-nofk" title="Current"  rel-entity-name="StatusItem">
>             <key-map field-name="currentStatusId" rel-field-name="statusId"/>
>         </relation>
>         <relation type="one-nofk" rel-entity-name="WorkEffortType">
>             <key-map field-name="workEffortTypeId"/>
>         </relation>
>         <relation type="one-nofk" rel-entity-name="WorkEffortPurposeType">
>             <key-map field-name="workEffortPurposeTypeId"/>
>         </relation>
>     </extend-entity>
> Then, start Ofbiz and you will get an error in the log that WorkEffortAndPartyAssign does not exist.



--
This message was sent by Atlassian JIRA
(v6.2#6252)