[jira] [Commented] (OFBIZ-6316) Have the WorkEffort entity retain revisions

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

[jira] [Commented] (OFBIZ-6316) Have the WorkEffort entity retain revisions

Nicolas Malin (Jira)

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

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

+1, the cost is minimal I guess

> Have the WorkEffort entity retain revisions
> -------------------------------------------
>
>                 Key: OFBIZ-6316
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6316
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: workeffort
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>
> Currently the WorkEffort entity has a field called revisionNumber. This field is updated through the simple method 'updateWorkEffort' in WorkEffortSimpleServices.xml. However, this method overwrites the existing record, in stead of creating a new record.
> In order to retain the changes on a workeffort the method should create a new  record for each revision.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)