Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049477
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2022-06-03 11:142022-06-21 15:47
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049477: Import BPSet process does not set the dates of the imported lines correctly

DescriptionImport BPSet process does not set the dates of the imported lines correctly.
Steps To Reproduce1) 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 SolutionChange 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
TagsNo tags attached.
Attached Filestxt file icon importbp.txt [^] (10 bytes) 2022-06-03 11:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049358 newcaristu Retail Modules Support selecting the discounts to be loaded into a terminal by a store set based criteria 

-  Notes
There are no notes attached to this issue.

- 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 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 View Revisions
2022-06-03 11:17 caristu Relationship added related to 0049358
2022-06-21 15:47 caristu Proposed Solution updated


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker