Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028325 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2014-12-01 09:30 | 2015-02-04 20:34 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | reinaldoguerra | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | 62ba0387a47d | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | umartirena | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 32700 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028325: Navigation to Journal Entries Report Detail does not work properly depending on the date format | |||||||
Description | If we configure the environment to use the following date format: dd/MM/yyyy, then when navigation to the Journal Entries Report Detail the screen appears in blank without showing any information. | |||||||
Steps To Reproduce | 1) Configure the java date format 1a) Configure Openbravo.properties file to use the following date format: dateFormat.java=dd/MM/yyyy 1b) Rebuild the application. Restart tomcat 2) Execute the Journal Entries Report 3) Click on the "Detail" link in any of the resulting records. Notice that the Journal Entries Report Detail appears in blank. | |||||||
Proposed Solution | In the ReportGeneralLedgerJournalDetail, the getValue() function is splitting the string with the parameters by the "/" character. This does not retrieve the date properly if we work with a date format like dd/MM/yyyy The date format should be taken into account in this method in order to retrieve the date acct properly. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0073382) reinaldoguerra (viewer) 2015-01-08 19:21 |
Test plan used: 1- Configure the java date format 1a) Configure Openbravo.properties file to use the following date format: dateFormat.java=dd/MM/yyyy 1b) Rebuild the application. Restart tomcat 2- Execute the Journal Entries Report 3- Click on the "Detail" link in any of the resulting records. Notice that the Journal Entries Report Detail appears successfuly. |
(0073615) hgbot (developer) 2015-01-19 17:37 |
Repository: erp/devel/pi Changeset: 62ba0387a47d84df33df773dc38b045781d9edd8 Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com> Date: Wed Jan 07 18:55:41 2015 -0500 URL: http://code.openbravo.com/erp/devel/pi/rev/62ba0387a47d84df33df773dc38b045781d9edd8 [^] Fixed bug 28325: Journal Entries Detail fails depending on the date format. When retrieving Fact Acct Group information in ReportGeneralLedgerJournalDetail class in a direct command request, now is taken into account that the date format defined could be dd/MM/yyyy, instead of default one dd-MM-yyyy, so the called of split function getValue, was changed to separate the string parameter by the position that realy marks the end of the date and the begins of the Group Id. Now the complete date is read no matter the format defined, and the Journal Entries Detail form shows the information successfuly. --- M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail.java --- |
(0073616) umartirena (viewer) 2015-01-19 17:38 |
Code Review + Testing OK |
(0074160) hudsonbot (viewer) 2015-02-04 20:34 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-01 09:30 | caristu | New Issue | |
2014-12-01 09:30 | caristu | Assigned To | => dmiguelez |
2014-12-01 09:30 | caristu | OBNetwork customer | => Yes |
2014-12-01 09:30 | caristu | Modules | => Core |
2014-12-01 09:30 | caristu | Support ticket | => 32700 |
2014-12-01 09:30 | caristu | Resolution time | => 1419980400 |
2014-12-01 09:30 | caristu | Triggers an Emergency Pack | => No |
2014-12-01 09:31 | caristu | Issue Monitored: networkb | |
2014-12-01 09:31 | caristu | Steps to Reproduce Updated | View Revisions |
2014-12-01 09:31 | caristu | Description Updated | View Revisions |
2014-12-01 09:34 | caristu | File Added: JEDetailBlank.png | |
2014-12-01 09:35 | caristu | File Deleted: JEDetailBlank.png | |
2014-12-01 09:36 | caristu | File Added: JEDetailBlank.png | |
2014-12-01 09:36 | caristu | Assigned To | dmiguelez => AtulOpenbravo |
2014-12-01 10:10 | heccam | Issue Monitored: heccam | |
2014-12-01 13:41 | egoitz | Target Version | 3.0PR15Q1 => 3.0PR15Q2 |
2014-12-11 12:24 | caristu | Summary | Journal Entries Report Detail does not work properly depending on the date format => Navigation to Journal Entries Report Detail does not work properly depending on the date format |
2015-01-07 01:01 | reinaldoguerra | Assigned To | AtulOpenbravo => reinaldoguerra |
2015-01-07 01:01 | reinaldoguerra | Status | new => scheduled |
2015-01-08 19:21 | reinaldoguerra | Note Added: 0073382 | |
2015-01-19 17:37 | hgbot | Checkin | |
2015-01-19 17:37 | hgbot | Note Added: 0073615 | |
2015-01-19 17:37 | hgbot | Status | scheduled => resolved |
2015-01-19 17:37 | hgbot | Resolution | open => fixed |
2015-01-19 17:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/62ba0387a47d84df33df773dc38b045781d9edd8 [^] |
2015-01-19 17:38 | umartirena | Review Assigned To | => umartirena |
2015-01-19 17:38 | umartirena | Note Added: 0073616 | |
2015-01-19 17:38 | umartirena | Status | resolved => closed |
2015-01-19 17:38 | umartirena | Fixed in Version | => pi |
2015-02-04 20:34 | hudsonbot | Checkin | |
2015-02-04 20:34 | hudsonbot | Note Added: 0074160 |
Copyright © 2000 - 2009 MantisBT Group |