Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0007920 | Openbravo ERP | F. Localization | public | 2009-03-03 15:21 | 2009-07-26 22:07 |
Reporter | MbX7174 | ||||
Assigned To | pheenan | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.50alpha-r11 | ||||
Target Version | Fixed in Version | 2.50MP3 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0007920: Translation fails, because the ad_textinterfaces table refers to a file, using an relative path, application uses absolute path | ||||
Description | TextInterfacesData::selectText() creates a 3-fold SQL query (UNION). The selects, indicated by orderSeq 3 and 1 do not function properly, because the htmlFile parameter given to the selectText-method is a fully qualified file name (absolute path), while the filename-field in the ad_textinterfaces table refers to the files, using a relative path (/org/...). | ||||
Steps To Reproduce | 1) Introduce Spanish into Openbravo 2) Switch OB to Spanish 3) Print a Sales Invoice Result: The invoice notes do not get translated because of the bug. | ||||
Proposed Solution | The filename is used for 2 purposes: 1) To locate the JRXML file on the local file system (absolute path is needed) 2) To compose the query in the ad_textinterfaces table Separate both concerns, or inject a prefix that can crop the fully qualified file name. | ||||
Additional Information | |||||
Tags | 250MP3releasecandidate, commsup_sprint7, leo | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=959&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-03-03 15:21 | MbX7174 | New Issue | |||
2009-03-03 15:21 | MbX7174 | Assigned To | => rafaroda | ||
2009-03-03 15:21 | MbX7174 | File Added: InvoiceReport.20090303-143117.pdf | |||
2009-03-03 15:49 | rafaroda | OBNetwork customer | => No | ||
2009-03-03 15:49 | rafaroda | Assigned To | rafaroda => pheenan | ||
2009-03-04 19:54 | hgbot | Checkin | |||
2009-03-04 19:54 | hgbot | Note Added: 0014403 | |||
2009-03-04 19:54 | hgbot | Status | new => resolved | ||
2009-03-04 19:54 | hgbot | Resolution | open => fixed | ||
2009-03-04 19:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/548a51c5302da5a20f6092ca0814baeae4828595 [^] | ||
2009-03-06 09:30 | pheenan | Tag Attached: commsup_sprint7 | |||
2009-04-21 10:53 | psarobe | Status | resolved => closed | ||
2009-04-22 00:01 | anonymous | sf_bug_id | 0 => 2778042 | ||
2009-07-03 13:11 | hgbot | Checkin | |||
2009-07-03 13:11 | hgbot | Note Added: 0017799 | |||
2009-07-03 13:11 | hgbot | Status | closed => resolved | ||
2009-07-03 13:11 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/548a51c5302da5a20f6092ca0814baeae4828595 [^] => http://code.openbravo.com/erp/devel/pi/rev/35d3cb4c25c13a090714bddcf3e1521fe8efb827 [^] | ||
2009-07-21 16:24 | psarobe | Fixed in Version | 2.50 => 2.50MP3 | ||
2009-07-21 16:26 | psarobe | Tag Attached: 250MP3releasecandidate | |||
2009-07-21 18:43 | psarobe | Tag Attached: leo | |||
2009-07-26 22:07 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|