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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018048
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2011-07-21 10:102011-08-12 12:02
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchpiFixed in SCM revision08b15a140ffa
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018048: Language not taken properly in process bundle

DescriptiontoVars() method populates the language using the system language

final VariablesSecureApp vars = bundle.getContext().toVars();

this.language = System.getProperty("user.language") + "_" + System.getProperty("user.country");

it does not take in account the language selected in the application.
Steps To Reproduce1. Install the Spanish translation.
2. Create a sales invoice with one line and complete it.
3. Click the button Payment in/out.
4. The sales invoice will be marked. Type the amount in the actual payment in box and click out.
5. Click OK.
6. Click OK.

The payment in will be created. Go to payment in window and the payment description will be in the system language, does not matter the language you've selected in the log-in.
Proposed SolutionUse:
final String language = bundle.getContext().getLanguage();
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00162233.0MP2 closedalostale Having Spanish translation installed but using English language I see messages in Spanish 
depends on backport 0018050 closedmirurita Language not taken properly in process bundle 

-  Notes
(0039277)
hgbot (developer)
2011-07-21 10:48

Repository: erp/devel/pi
Changeset: 08b15a140ffa623af930030653a0846f11ba30c4
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Jul 21 10:47:42 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/08b15a140ffa623af930030653a0846f11ba30c4 [^]

Fixes issue 18048: Language not taken properly in process bundle

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/ExecutePendingPayments.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_BankStatementProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProposalProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ReconciliationProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0039639)
hudsonbot (developer)
2011-08-01 14:20

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/cf2afed6e8ef [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-07-21 10:10 mirurita New Issue
2011-07-21 10:10 mirurita Assigned To => mirurita
2011-07-21 10:10 mirurita Modules => Advanced Payables and Receivables Mngmt
2011-07-21 10:10 mirurita Relationship added related to 0018043
2011-07-21 10:10 mirurita Relationship deleted related to 0018043
2011-07-21 10:11 mirurita Relationship added related to 0016223
2011-07-21 10:36 mirurita Status new => scheduled
2011-07-21 10:36 mirurita fix_in_branch => pi
2011-07-21 10:48 hgbot Checkin
2011-07-21 10:48 hgbot Note Added: 0039277
2011-07-21 10:48 hgbot Status scheduled => resolved
2011-07-21 10:48 hgbot Resolution open => fixed
2011-07-21 10:48 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/08b15a140ffa623af930030653a0846f11ba30c4 [^]
2011-08-01 14:20 hudsonbot Checkin
2011-08-01 14:20 hudsonbot Note Added: 0039639
2011-08-12 12:02 gorkaion Status resolved => closed
2011-08-12 12:02 gorkaion Fixed in Version => 3.0MP2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker