Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0044574Openbravo ERPA. Platformpublic2020-07-08 09:562020-07-27 12:03
Leyre 
cberner 
normalmajoralways
closedfixed 
5
 
PR20Q4 
alostale
Core
Production - Confirmed Stable
2019-09-23
3.0PR19Q4
https://gitlab.com/openbravo/product/openbravo/-/commit/4ec715bfa9c6bc0ab7b3e6f644ec05ef4998c721 [^]
No
0044574: The date is not displayed correctly in the "Costing Rules" window -> "Fix Backdated Transactions" process
The date is not displayed correctly in the "Costing Rules" window -> "Fix Backdated Transactions" process
Backend as System Administrator role:
1. "Process Definition" window -> Fix Backdated Transactions
2. "Parameter" tab -> Fix Backdated From
   2.1. Update "Default Value" = OB.formatDateTime(new Date())

Backend as F&B International Group Admin - F&B International Group role:
1. "Costing Rules" window -> Select one record and click on "Fix Backdated Transactions"

Actual result: Verify that the date shown is two hours less than the current date
Expected result: The date should be the same as the current date.
No tags attached.
related to defect 0044640 closed cberner Exported grid csv with enabled creation date column value does not match in the application 
depends on backport 0044688PR20Q3 closed cberner The date is not displayed correctly in the "Costing Rules" window -> "Fix Backdated Transactions" process 
depends on backport 0044689PR20Q2.1 closed cberner The date is not displayed correctly in the "Costing Rules" window -> "Fix Backdated Transactions" process 
depends on backport 0044690PR20Q1.3 closed cberner The date is not displayed correctly in the "Costing Rules" window -> "Fix Backdated Transactions" process 
caused by defect 0038671 closed alostale random NPE getting data for some date/datetime fields 
Issue History
2020-07-08 09:56LeyreNew Issue
2020-07-08 09:56LeyreAssigned To => platform
2020-07-08 09:56LeyreModules => Core
2020-07-08 09:56LeyreResolution time => 1595973600
2020-07-08 09:56LeyreTriggers an Emergency Pack => No
2020-07-09 10:10RenateNieuwkoopIssue Monitored: RenateNieuwkoop
2020-07-27 09:49cbernerAssigned Toplatform => cberner
2020-07-27 09:50cbernerRelationship addedrelated to 0044640
2020-07-27 09:52cbernerRegression level => Production - Confirmed Stable
2020-07-27 09:52cbernerRegression date => 2019-09-23
2020-07-27 09:52cbernerRegression introduced in release => 3.0PR19Q4
2020-07-27 09:52cbernerRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/4ec715bfa9c6bc0ab7b3e6f644ec05ef4998c721 [^]
2020-07-27 09:58cbernerStatusnew => scheduled
2020-07-27 10:37hgbotNote Added: 0121623
2020-07-27 10:57hgbotResolutionopen => fixed
2020-07-27 10:57hgbotStatusscheduled => closed
2020-07-27 10:57hgbotFixed in Version => PR20Q4
2020-07-27 10:57hgbotNote Added: 0121625
2020-07-27 10:57hgbotNote Added: 0121626
2020-07-27 11:10cbernerReview Assigned To => alostale
2020-07-27 12:03alostaleRelationship addedcaused by 0038671

Notes
(0121623)
hgbot   
2020-07-27 10:37   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/112 [^]
(0121625)
hgbot   
2020-07-27 10:57   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 402d553a2195f8111ae7d96fbf871f8bb5260852
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 2020-07-27T10:55:12+02:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/402d553a2195f8111ae7d96fbf871f8bb5260852 [^]

Fixes ISSUE-44574: Format date using provided timezone in OBBindings#formatDate

Previously as a side-effect date was being converted to UTC wrongly in
OBBindings formatDate function.
This fixes it by formatting using the local timezone as was previously
done prior to the regression commit. Fixes display of date in some
parameter windows that were relying on it (e.g. Costing Rules).

Fixes regression introduced in commit 4ec715bf

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/OBBindings.java
---
(0121626)
hgbot   
2020-07-27 10:57   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/112 [^]