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

Lalit Dashora commented on OFBIZ-12046:
---------------------------------------

Hello,

Explored around the ticket and found that the lastModifiedDate field takes 
dateTime value and when the user tries to update the date the system sets it to 
the current timestamp. AFAIK updating promotion lastModifiedDate does not serve 
any business purpose.

When the user clicks on the update button internally updateProductPromo service 
is executed with engine entity-auto on ProductPromo. If anything is updated the 
system automatically sets the ProductPromo.lastModifiedDate which is correct. 
Also, the editable field lastModifiedDate is shown to the user 
(applications/product/widget/catalog/PromoForms.xml:40) and it's due to the 
auto-fields-service tag used on updateProductPromo service so the system is 
showing all the fields.

I think there is nothing to change here.

Thanks!

> Edit record in product promotion, "Promotion Last Modified Date" is invalid, 
> but don't notice to user
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-12046
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12046
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: 17.12.04
>         Environment: * PostgreSQL 13
>  * Google Chrome 68
>  * Windows 10 x64 version 2004
>  * Ofbiz 17.12.04
> Source code:
>  
> E:\foo\ofbiz-framework>git log --oneline -1
>  *d56e3977e9* (HEAD -> trunk, origin/trunk, origin/HEAD) Improved: Upgrade 
> Gradle to V6.5.1 (OFBIZ-11946)
>  
>            Reporter: Do Nhu Vy
>            Assignee: Lalit Dashora
>            Priority: Minor
>         Attachments: 2020-10-25_22-20-39.mp4, console_log.txt, ofbiz_bug.png
>
>
> Edit record in product promotion, "Promotion Last Modified Date" is invalid, 
> but don't notice to user



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to