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

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

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

Nicolas Malin (Jira)

     [ 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)