You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2017/07/31 18:54:00 UTC

[jira] [Updated] (OFBIZ-9546) Entity Auto should use nowTimestamp while expire either thruDate is set or not on entity

     [ https://issues.apache.org/jira/browse/OFBIZ-9546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Dixit updated OFBIZ-9546:
--------------------------------
    Attachment: OFBIZ-9546.patch

Here is the patch for this issue. 

> Entity Auto should use nowTimestamp while expire either thruDate is set or not on entity
> ----------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9546
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9546
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Deepak Dixit
>         Attachments: OFBIZ-9546.patch
>
>
> Currently Entity Auto expire action set  thruDate only to nowTimestamp if entity.thruDate is not set. 
> Ideally it should set nowTimestamp each time or at least it should check if entity.thruDate is greater then nowTimestamp then should set nowTimestamp. 
> If thruDate is not passed in expire service it means record should be expire immediately. so it should override the future thruDate with nowTimestamp 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)