Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0035489 | Openbravo ERP | E. Translation | public | 2017-03-10 21:16 | 2017-03-17 10:38 |
| Reporter | rbianchini | ||||
| Assigned To | inigosanchez | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | 3.0PR16Q3.2 | ||||
| Target Version | Fixed in Version | 3.0PR17Q2 | |||
| Merge Request Status | |||||
| Review Assigned To | alostale | ||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | 45423 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0035489: Wrong priority between different possible translations | ||||
| Description | When you have an especific translation for a static text in a repport (registered in ad_textinterfaces with the filename column pointing to the repport) and there is a general translation for the same static text, the query that returns the possible translations prioritizes the general translation over the specific translation | ||||
| Steps To Reproduce | 1 - Install the Localization pack Spain (EspaƱa) - 3.5.0 - English (USA) Module 2 - Install org.openbravo.bugTraslation module (attached) 3 - Execute the following update query in database: update ad_textinterfaces_trl set text = 'Nombre2', istranslated='Y' where ad_textinterfaces_id in (select ti.ad_textinterfaces_id from ad_textinterfaces ti where filename='/org/openbravo/bugTranslation/ad_reports/EXAM_example2.jrxml' and text='Name'); 4 - Log in ERP and select Spanish language 5 - open product list menu entry and click "aceptar" button 6 - Open the created report and realizes that the column "Nombre" should be "Nombre2" | ||||
| Proposed Solution | Edit the query in file TextInterfacesData.java, function selectText(ConnectionProvider connectionProvider, String htmlFile, String language) and prioritizes the first select in the union | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=10554&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2017-03-10 21:16 | rbianchini | New Issue | |||
| 2017-03-10 21:16 | rbianchini | Assigned To | => platform | ||
| 2017-03-10 21:16 | rbianchini | File Added: org.openbravo.bugTranslation-1.0.0.obx | |||
| 2017-03-10 21:16 | rbianchini | OBNetwork customer | => Yes | ||
| 2017-03-10 21:16 | rbianchini | Modules | => Core | ||
| 2017-03-10 21:16 | rbianchini | Support ticket | => 45423 | ||
| 2017-03-10 21:16 | rbianchini | Resolution time | => 1490929200 | ||
| 2017-03-10 21:16 | rbianchini | Triggers an Emergency Pack | => No | ||
| 2017-03-13 09:39 | inigosanchez | Assigned To | platform => inigosanchez | ||
| 2017-03-13 13:45 | inigosanchez | Status | new => scheduled | ||
| 2017-03-14 13:02 | hgbot | Checkin | |||
| 2017-03-14 13:02 | hgbot | Note Added: 0094997 | |||
| 2017-03-14 13:02 | hgbot | Status | scheduled => resolved | ||
| 2017-03-14 13:02 | hgbot | Resolution | open => fixed | ||
| 2017-03-14 13:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e625fac3bb60025cd96988dfbf76f48e457a11d6 [^] | ||
| 2017-03-14 13:03 | inigosanchez | Review Assigned To | => alostale | ||
| 2017-03-14 13:03 | inigosanchez | Resolution time | 1490929200 => 1490911200 | ||
| 2017-03-15 20:22 | hudsonbot | Checkin | |||
| 2017-03-15 20:22 | hudsonbot | Note Added: 0095298 | |||
| 2017-03-17 10:38 | alostale | Note Added: 0095359 | |||
| 2017-03-17 10:38 | alostale | Status | resolved => closed | ||
| 2017-03-17 10:38 | alostale | Fixed in Version | => 3.0PR17Q2 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||