Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049398 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | major | always | 2022-05-24 21:05 | 2022-06-27 11:34 | |||
Reporter | axelmercado | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 3.0PR19Q4.3 | SCM revision | ||||||
Merge Request Status | approved | |||||||
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 | 0049398: Error displaying a time type field in grid view and form view in a property field | |||||||
Description | When displaying information in a field of type time stored in a property field, it is displayed correctly in grid view, but in form view the values are changed. | |||||||
Steps To Reproduce | 1-Identify a table that contains a time column or create a new new. I.e. you can use the ad_org.EM_Obpos2_Default_Deliverytime column (Default Delivery Time field) 2-Call this column through a property field in another table. I.e. create a property field in the Unit of Measure header tab, using organization.obpos2DefaultDeliverytime as property value. 3-Give a value to the Default Delivery Time field of an organization 3-Open Unit of Measure, and notice that the values for the property field in the form and grid views are different This will show that the values in both views are different. | |||||||
Proposed Solution | We believe that this is due to the fact that in grid view the value is shown with time zone and in formulary view it is not. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
![]() |
|
![]() |
|
(0138754) hgbot (developer) 2022-06-24 13:51 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/628 [^] |
(0138776) hgbot (developer) 2022-06-27 11:34 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 1858d262a1e4e4e8b35f0bd025b89f5705831f8a Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 27-06-2022 11:32:43 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/1858d262a1e4e4e8b35f0bd025b89f5705831f8a [^] Fixes ISSUE-49398: Time property fields are properly displayed in form view The TimeUIDefinition.getFieldProperties expects to receive the UTC value as a request parameter. When the field is not a property field, the request parameter is named like this: "inp" + Sqlc.TransformaNombreColumna(field.getColumn().getDBColumnName()), but when it is a property field the naming of the parameter is different. As a result, the current value was not found, so it was not being converted from UTC to local time. To fix it, the getFieldProperties method will first look for the standard parameter and if not found it will look for it using the property field name convention --- M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/TimeUIDefinition.java --- |
(0138777) hgbot (developer) 2022-06-27 11:34 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/628 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-05-24 21:05 | axelmercado | New Issue | |
2022-05-24 21:05 | axelmercado | Assigned To | => Triage Platform Base |
2022-05-24 21:05 | axelmercado | File Added: cap1.jpeg | |
2022-05-24 21:05 | axelmercado | Modules | => Core |
2022-05-24 21:05 | axelmercado | Triggers an Emergency Pack | => No |
2022-05-24 21:06 | axelmercado | File Added: cap2.jpeg | |
2022-05-24 21:08 | ivazquez | OBNetwork customer | => No |
2022-05-24 21:14 | eugeni | Issue Monitored: eugeni | |
2022-06-16 15:12 | axelmercado | File Added: exampWin,tab&fie.png | |
2022-06-16 15:13 | axelmercado | File Added: exampWin,tab&fie2.png | |
2022-06-16 15:13 | axelmercado | File Added: exampBPLocationHour.png | |
2022-06-16 15:14 | axelmercado | File Added: exampWindHour.png | |
2022-06-16 15:14 | axelmercado | File Added: exampWindHourFormView.png | |
2022-06-24 12:02 | AugustoMauch | Assigned To | Triage Platform Base => AugustoMauch |
2022-06-24 12:02 | AugustoMauch | Status | new => scheduled |
2022-06-24 13:51 | hgbot | Merge Request Status | => open |
2022-06-24 13:51 | hgbot | Note Added: 0138754 | |
2022-06-27 10:03 | hgbot | Merge Request Status | open => approved |
2022-06-27 10:04 | hgbot | Merge Request Status | approved => open |
2022-06-27 10:13 | AugustoMauch | Steps to Reproduce Updated | View Revisions |
2022-06-27 11:34 | hgbot | Merge Request Status | open => approved |
2022-06-27 11:34 | hgbot | Resolution | open => fixed |
2022-06-27 11:34 | hgbot | Status | scheduled => closed |
2022-06-27 11:34 | hgbot | Fixed in Version | => PR22Q3 |
2022-06-27 11:34 | hgbot | Note Added: 0138776 | |
2022-06-27 11:34 | hgbot | Note Added: 0138777 |
Copyright © 2000 - 2009 MantisBT Group |