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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018050
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersminoralways2011-07-21 10:102011-07-27 12:37
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision77a2473b32d3
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

0018050: 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 ]
blocks defect 0018048 closedmirurita Language not taken properly in process bundle 

-  Notes
(0039285)
hgbot (developer)
2011-07-21 11:38

Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 77a2473b32d36328121c376041002348b961b741
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Jul 21 11:35:32 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/77a2473b32d36328121c376041002348b961b741 [^]

Fixes issue 18050: Language not taken properly in process bundle

---
M src/org/openbravo/advpaymentmngt/process/ExecutePendingPayments.java
M src/org/openbravo/advpaymentmngt/process/FIN_BankStatementProcess.java
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentProposalProcess.java
M src/org/openbravo/advpaymentmngt/process/FIN_ReconciliationProcess.java
M src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0039440)
psanjuan (manager)
2011-07-27 12:37

fixed and working

- Issue History
Date Modified Username Field Change
2011-07-21 10:36 mirurita Type defect => backport
2011-07-21 10:36 mirurita fix_in_branch => 2.50
2011-07-21 11:38 hgbot Checkin
2011-07-21 11:38 hgbot Note Added: 0039285
2011-07-21 11:38 hgbot Status scheduled => resolved
2011-07-21 11:38 hgbot Resolution open => fixed
2011-07-21 11:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/77a2473b32d36328121c376041002348b961b741 [^]
2011-07-27 12:37 psanjuan Note Added: 0039440
2011-07-27 12:37 psanjuan Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker