[
https://issues.apache.org/jira/browse/OFBIZ-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526364
]
Jonathon Wong commented on OFBIZ-893:
-------------------------------------
I vote for NOT overloading the <create-value> function! Yes, have
<create-value>, <create-or-store-value>, <store-value>, etc.
> Add createOrStore option to create-value in minilang
> ----------------------------------------------------
>
> Key: OFBIZ-893
> URL: https://issues.apache.org/jira/browse/OFBIZ-893
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Chris Howe
> Priority: Minor
> Attachments: CreateOrStoreMinilang.patch
>
>
> Add attribute or-store to <create-value> in simple-mehtod. Will run
> operation with:
> methodContext.getDelegator().createOrStore(value, doCacheClear)
> instead of:
> methodContext.getDelegator().create(value, doCacheClear);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.