Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||
| View Issue Details | |||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0049477 | Openbravo ERP | A. Platform | public | 2022-06-03 11:14 | 2023-01-12 09:41 | ||||||||
| Reporter | caristu | ||||||||||||
| Assigned To | Triage Platform Base | ||||||||||||
| Priority | high | Severity | major | Reproducibility | have not tried | ||||||||
| Status | scheduled | Resolution | open | ||||||||||
| Platform | OS | 5 | OS Version | ||||||||||
| Product Version | |||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Merge Request Status | open | ||||||||||||
| Review Assigned To | |||||||||||||
| OBNetwork customer | No | ||||||||||||
| Web browser | |||||||||||||
| Modules | Core | ||||||||||||
| Support ticket | |||||||||||||
| Regression level | |||||||||||||
| Regression date | |||||||||||||
| Regression introduced in release | |||||||||||||
| Regression introduced by commit | |||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||
| Summary | 0049477: Import BPSet process does not set the dates of the imported lines correctly | ||||||||||||
| Description | Import BPSet process does not set the dates of the imported lines correctly. | ||||||||||||
| Steps To Reproduce | 1) Login with the White Valley Group Admin role, Go to the Business Partner Set window 2) Create a new record in the header 3) Click on the import button of the toolbar 4) Select the attached file 5) Choose an start date for example: 03-06-2022 6) Submit. Note that a record is created in the subtab but with a wrong start date: 02-06-2022 | ||||||||||||
| Proposed Solution | Change the code that parses the date here[1], because dates are not translated by taking into account that they are in UTC. [1] https://gitlab.com/openbravo/product/openbravo/-/blob/master/modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/ImportBPSet.java#L128 [^] Note that the ImportStoreSet is already fixing this problem by parsing the date properly. Maybe it would be a good idea to centralize this logic in the platform to avoid duplicating this code | ||||||||||||
| Additional Information | |||||||||||||
| Tags | No tags attached. | ||||||||||||
| Relationships |
| ||||||||||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=17117&type=bug | ||||||||||||
| Issue History | |||||||||||||
| Date Modified | Username | Field | Change | ||||||||||
| 2022-06-03 11:14 | caristu | New Issue | |||||||||||
| 2022-06-03 11:14 | caristu | Assigned To | => Triage Platform Base | ||||||||||
| 2022-06-03 11:14 | caristu | File Added: importbp.txt | |||||||||||
| 2022-06-03 11:14 | caristu | OBNetwork customer | => No | ||||||||||
| 2022-06-03 11:14 | caristu | Modules | => Core | ||||||||||
| 2022-06-03 11:14 | caristu | Triggers an Emergency Pack | => No | ||||||||||
| 2022-06-03 11:16 | caristu | Proposed Solution updated | |||||||||||
| 2022-06-03 11:17 | caristu | Summary | Import BPSet process does not set the dates of the lines correctly => Import BPSet process does not set the dates of the imported lines correctly | ||||||||||
| 2022-06-03 11:17 | caristu | Description Updated | bug_revision_view_page.php?rev_id=24227#r24227 | ||||||||||
| 2022-06-03 11:17 | caristu | Relationship added | related to 0049358 | ||||||||||
| 2022-06-21 15:47 | caristu | Proposed Solution updated | |||||||||||
| 2022-10-04 12:01 | hgbot | Merge Request Status | => open | ||||||||||
| 2022-10-04 12:01 | hgbot | Note Added: 0141631 | |||||||||||
| 2022-10-04 12:01 | hgbot | Note Added: 0141632 | |||||||||||
| 2023-01-12 09:41 | AugustoMauch | Status | new => scheduled | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||