[ https://issues.apache.org/jira/browse/OFBIZ-6892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin closed OFBIZ-6892. -------------------------------- Resolution: Implemented Fix Version/s: Upcoming Branch Done on trunk at revision 1735737. I didn't load the case with a status change, I will see on second step > new action expire for service engine entity-auto > ------------------------------------------------ > > Key: OFBIZ-6892 > URL: https://issues.apache.org/jira/browse/OFBIZ-6892 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: Trunk > Reporter: Nicolas Malin > Assignee: Nicolas Malin > Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-6892.patch > > > Relate to the thread > http://ofbiz.135035.n4.nabble.com/entity-auto-and-cancel-operation-td4676929.html > on the dev mailing list, I load the patch to manage the action expire. > When you call *expire* on a entity : > * if a date field is present on service attribute, OFBiz try to expire it > with the given value or with now date > * else try to expire thruDate field > * else try to expire *ThruDate or thru*Date field > The patch contains the new action, a code refactoring to separate each action > on dedicate function and unit test associate. -- This message was sent by Atlassian JIRA (v6.3.4#6332)