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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028325
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2014-12-01 09:302015-02-04 20:34
ReportercaristuView Statuspublic 
Assigned Toreinaldoguerra 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision62ba0387a47d
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Toumartirena
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028325: Navigation to Journal Entries Report Detail does not work properly depending on the date format

DescriptionIf 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 Reproduce1) 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 SolutionIn 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.
TagsNo tags attached.
Attached Filespng file icon JEDetailBlank.png [^] (18,666 bytes) 2014-12-01 09:36

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0073382)
reinaldoguerra (developer)
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 (reporter)
2015-01-19 17:38

Code Review + Testing OK
(0074160)
hudsonbot (developer)
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

- Issue History
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 Modules => Core
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
Powered by Mantis Bugtracker