Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0024804 | Openbravo ERP | A. Platform | public | 2013-09-20 09:56 | 2013-09-27 22:28 |
|
Reporter | caristu | |
Assigned To | shankarb | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP28 | Fixed in Version | 3.0MP28 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 23517 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0024804: Filters are not working properly for translated fields |
Description | Filters are not working properly for the translated values, if the user filters using the translated value zero results are obtained. |
Steps To Reproduce | 1) Log-in with language Spanish (or any translation).
2) Go to the [Sales Order] window
3) Try to filter by document type used any of the translated values in the list. Notice that zero records are obtained
4) Try to filter, writing the document type original value (in English), the filter works fine now |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0023545 | | closed | shankarb | Window field filters are not translated in Menu | related to | defect | 0024740 | 3.0MP28 | closed | alostale | Filters for columns with list reference doesn't work properly on HQL defined selectors |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-09-20 09:56 | caristu | New Issue | |
2013-09-20 09:56 | caristu | Assigned To | => AugustoMauch |
2013-09-20 09:56 | caristu | Modules | => Core |
2013-09-20 09:56 | caristu | OBNetwork customer | => Yes |
2013-09-20 09:56 | caristu | Support ticket | => 23517 |
2013-09-20 09:56 | caristu | Resolution time | => 1382565600 |
2013-09-20 09:56 | caristu | Triggers an Emergency Pack | => No |
2013-09-20 09:56 | caristu | Relationship added | related to 0023545 |
2013-09-20 10:00 | caristu | Description Updated | bug_revision_view_page.php?rev_id=5037#r5037 |
2013-09-23 04:14 | shankarb | Assigned To | AugustoMauch => shankarb |
2013-09-23 08:33 | alostale | Relationship added | related to 0024740 |
2013-09-24 09:56 | shankarb | Note Added: 0061364 | |
2013-09-25 13:00 | alostale | Note Edited: 0061364 | bug_revision_view_page.php?bugnote_id=0061364#r5055 |
2013-09-26 08:08 | shankarb | Review Assigned To | => alostale |
2013-09-26 08:09 | shankarb | Issue Monitored: alostale | |
2013-09-26 08:10 | hgbot | Checkin | |
2013-09-26 08:10 | hgbot | Note Added: 0061402 | |
2013-09-26 08:10 | hgbot | Status | new => resolved |
2013-09-26 08:10 | hgbot | Resolution | open => fixed |
2013-09-26 08:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c6dbf71135bc6f94218ec0fed6b35beb3051c24d [^] |
2013-09-26 12:34 | shankarb | Note Added: 0061411 | |
2013-09-26 12:34 | shankarb | Status | resolved => new |
2013-09-26 12:34 | shankarb | Resolution | fixed => open |
2013-09-26 13:25 | hgbot | Checkin | |
2013-09-26 13:25 | hgbot | Note Added: 0061412 | |
2013-09-26 13:27 | hgbot | Status | new => resolved |
2013-09-26 13:27 | hgbot | Resolution | open => fixed |
2013-09-26 13:27 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/c6dbf71135bc6f94218ec0fed6b35beb3051c24d [^] => http://code.openbravo.com/erp/devel/pi/rev/f497481ca351627e5336c307429c9b42c2fb924d [^] |
2013-09-27 03:11 | hudsonbot | Checkin | |
2013-09-27 03:11 | hudsonbot | Note Added: 0061431 | |
2013-09-27 03:11 | hudsonbot | Checkin | |
2013-09-27 03:11 | hudsonbot | Note Added: 0061433 | |
2013-09-27 11:42 | alostale | Note Added: 0061440 | |
2013-09-27 11:44 | hgbot | Checkin | |
2013-09-27 11:44 | hgbot | Note Added: 0061441 | |
2013-09-27 11:45 | alostale | Review Assigned To | alostale => AugustoMauch |
2013-09-27 14:02 | AugustoMauch | Note Added: 0061446 | |
2013-09-27 14:02 | AugustoMauch | Status | resolved => closed |
2013-09-27 14:02 | AugustoMauch | Fixed in Version | => 3.0MP28 |
2013-09-27 22:28 | hudsonbot | Checkin | |
2013-09-27 22:28 | hudsonbot | Note Added: 0061455 | |
Notes |
|
(0061364)
|
shankarb
|
2013-09-24 09:56
(edited on: 2013-09-25 13:00) |
|
The problem is that the grid data for document type is not translated. But the filter contains the translated item. So it is not getting filtered properly.
|
|
|
(0061402)
|
hgbot
|
2013-09-26 08:10
|
|
Repository: erp/devel/pi
Changeset: c6dbf71135bc6f94218ec0fed6b35beb3051c24d
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Sep 26 09:41:37 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c6dbf71135bc6f94218ec0fed6b35beb3051c24d [^]
Fixes Issue 0024804: Filters are not working properly for translated fields
When retrieving the display property name, the values are not translated.
Instead when identifier values are retrieved, the values are translated.
Added code to translate the display property and search key.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
|
|
|
(0061411)
|
shankarb
|
2013-09-26 12:34
|
|
Fix creates runtime exception, when loading grid with timestamp values. Example, Sales Invoice - Payment Plan - Payment Details |
|
|
(0061412)
|
hgbot
|
2013-09-26 13:25
|
|
Repository: erp/devel/pi
Changeset: f497481ca351627e5336c307429c9b42c2fb924d
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Sep 26 16:39:58 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f497481ca351627e5336c307429c9b42c2fb924d [^]
Fixes Issue 0024804: Filters are not working properly for translated fields
Retrieved the toString value instead of typecasting to string to avoid cast exception.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
|
|
|
|
|
|
|
|
|
|
Current fix correctly displays in grid translated value for table reference fields, but it does not execute the correct query in backend. It is comparing translated value field set in filter with base language value field.
Note this apparently works fine in case of filtering on a record set with a size smaller than 100 records, this is due to the fact in this case filtering is computed in client side. |
|
|
(0061441)
|
hgbot
|
2013-09-27 11:44
|
|
Repository: erp/devel/pi
Changeset: ffeabc536d1746b2f253f840255d74f825da3ed8
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Sep 27 11:44:02 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ffeabc536d1746b2f253f840255d74f825da3ed8 [^]
related to bug 24804: backend filter for translated fields with table reference
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
|
Code reviewed and verified in pi@34a6241c3e04 |
|
|
|
|