Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0028687 | Openbravo ERP | A. Platform | public | 2015-01-20 12:41 | 2015-11-23 21:17 |
Reporter | caristu | ||||
Assigned To | caristu | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | 3.0PR16Q1 | |||
Merge Request Status | |||||
Review Assigned To | alostale | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | 33720 | ||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0028687: IllegalArgumentException should be captured in QueryListDataSource | ||||
Description | IllegalArgumentException should be captured in QueryListDataSource class. If we have a widget that displays a Date column and some of the records have a null value, then the widget records are not displayed because the following exception is thrown: java.lang.IllegalArgumentException: Cannot format given Object as a Date at java.text.DateFormat.format(DateFormat.java:298) at java.text.Format.format(Format.java:157) at org.openbravo.client.querylist.QueryListDataSource.getData(QueryListDataSource.java:226) | ||||
Steps To Reproduce | 1) Install the attached module 2) Give access to a role for the widget "Null Date" 3) Add that widget into the workspace, notice that it does not display any record and the mentioned exception appears in the log | ||||
Proposed Solution | Check if 'value' is null before performing the following operation: xmlDateFormat.format(value); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=7707&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-20 12:41 | caristu | New Issue | |||
2015-01-20 12:41 | caristu | Assigned To | => AugustoMauch | ||
2015-01-20 12:41 | caristu | OBNetwork customer | => No | ||
2015-01-20 12:41 | caristu | Modules | => Core | ||
2015-01-20 12:41 | caristu | Support ticket | => 33720 | ||
2015-01-20 12:41 | caristu | Resolution time | => 1428271200 | ||
2015-01-20 12:41 | caristu | Triggers an Emergency Pack | => No | ||
2015-01-20 12:42 | caristu | Issue Monitored: networkb | |||
2015-01-20 12:59 | caristu | File Added: com.openbravo.support.widget-1.0.0.obx | |||
2015-01-20 12:59 | caristu | Proposed Solution updated | |||
2015-01-20 13:00 | caristu | version | => pi | ||
2015-01-20 13:00 | caristu | Target Version | => 3.0PR15Q2 | ||
2015-01-25 20:57 | eugeni | Issue Monitored: eugeni | |||
2015-01-29 13:17 | alostale | Status | new => acknowledged | ||
2015-03-11 10:02 | alostale | Priority | high => normal | ||
2015-03-16 13:25 | jonalegriaesarte | Resolution time | 1428271200 => | ||
2015-03-17 14:37 | alostale | Assigned To | AugustoMauch => platform | ||
2015-03-25 09:04 | alostale | Target Version | 3.0PR15Q2 => | ||
2015-11-13 09:48 | caristu | Assigned To | platform => caristu | ||
2015-11-13 09:48 | caristu | Status | acknowledged => scheduled | ||
2015-11-13 10:08 | hgbot | Checkin | |||
2015-11-13 10:08 | hgbot | Note Added: 0081806 | |||
2015-11-13 10:08 | hgbot | Status | scheduled => resolved | ||
2015-11-13 10:08 | hgbot | Resolution | open => fixed | ||
2015-11-13 10:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fb1256d74142b1659cd5cce801074fb37abd2eaf [^] | ||
2015-11-13 10:08 | caristu | Review Assigned To | => alostale | ||
2015-11-13 10:08 | caristu | Issue Monitored: alostale | |||
2015-11-16 12:18 | alostale | Note Added: 0081869 | |||
2015-11-16 12:18 | alostale | Status | resolved => closed | ||
2015-11-16 12:18 | alostale | Fixed in Version | => 3.0PR16Q1 | ||
2015-11-23 21:17 | hudsonbot | Checkin | |||
2015-11-23 21:17 | hudsonbot | Note Added: 0082225 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|