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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014202
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 04. Warehouse managementminoralways2010-08-16 13:262010-09-17 00:00
ReporternetworkbView Statuspublic 
Assigned Toadrianromero 
PriorityhighResolutionfixedFixed in Version2.50MP22
StatusclosedFix in branchpiFixed in SCM revisiond37d5a8b1a59
ProjectionnoneETAnoneTarget Version2.50MP22
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP20SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014202: Product Movements Report appears in spanish when it is executed in english

DescriptionIf you execute Product Movements Report in Spanish and then you switch to English language and execute it again in English, some labels appear in Spanish.

See screenshot attached.
Steps To Reproduce1. Install Spanish Translation Module
2. Log in Spanish language and run Warehouse Management || Analysis Tools || Product Movements Report
3. Log in English language and run Warehouse Management || Analysis Tools || Product Movements Report
Realize that labels are in Spanish
TagsNo tags attached.
Attached Filesjpg file icon Movimientoproductosinglés.JPG [^] (108,351 bytes) 2010-08-16 13:26

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0030313)
hgbot (developer)
2010-08-25 13:15

Repository: erp/devel/pi
Changeset: 33315a869d2f4eddc1b4895ebadd98e9ee5f2381
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 12:21:18 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/33315a869d2f4eddc1b4895ebadd98e9ee5f2381 [^]

Issue 14202: Product Movements Report appears in spanish when it is executed in english
XmlDocument.translateDataValue: Refactor:
- Simplify loops
- Reduce nesting level with an early return-
- Check if translations exist out of the loop
- Reduce casting using generics
- Extract translation of XmlVectorTemplate into helper function
- Inline only used once variable

---
M src-core/src/org/openbravo/xmlEngine/DataTemplate.java
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030314)
hgbot (developer)
2010-08-25 13:15

Repository: erp/devel/pi
Changeset: dfeacf18d7185368618e25d0fb64ddb71c9f3d22
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 12:48:19 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dfeacf18d7185368618e25d0fb64ddb71c9f3d22 [^]

Fixes issue 14202: Product Movements Report appears in spanish when it is executed in english
Translate the current xmlDocument values and not the (cached) template

---
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030315)
hgbot (developer)
2010-08-25 13:15

Repository: erp/devel/pi
Changeset: 8badd5d23b5966da70be4921fb33bbbcbdf18923
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 14:30:21 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8badd5d23b5966da70be4921fb33bbbcbdf18923 [^]

Issue 14202: Product Movements Report appears in spanish when it is executed in english
Removing not needed castings

---
M src-core/src/org/openbravo/xmlEngine/SectionValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030316)
adrianromero (manager)
2010-08-25 13:45

* Testing the issue

Follow the steps to reproduce and notice that now when logging in English, all labels are in English, not in Spanish.

* Other areas affected.

Because the changes affects the translation functionality of the XMLEngine and this area is a core area of Openbravo ERP more tests need to be tested:

Having the Spanish Translation Module test also the following reports in Spanish and in English. All labels must appear in the selected language. Change from Spanish to English and from English to Spanish a couple of times.

** Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report
** Warehouse Management || Analysis Tools || Warehouse Control Report || Warehouse Control Report
** Warehouse Management || Analysis Tools || Pareto Product Report || Pareto Product Report
** Financial Management || Accounting || Analysis Tools || Trial Balance Report || Trial Balance Report
** Financial Management || Accounting || Analysis Tools || General Ledger Report || General Ledger Report
** Financial Management || Accounting || Analysis Tools || General Ledger Journal || General Ledger Journal
(0030342)
adrianromero (manager)
2010-08-26 11:05

* Other areas affected (Cont.)

There are also issues related to translations in the XMLEngine that needs too be reviewed that the fixes done in these issues are not broken with this fix. The related issues are: 9653, 9353 and 9659
(0030365)
hgbot (developer)
2010-08-26 15:00

Repository: erp/devel/pi
Changeset: 71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:49:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d [^]

Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Updating properly copyright notice

---
M src-core/src/org/openbravo/xmlEngine/DataTemplate.java
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/SectionValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030366)
hgbot (developer)
2010-08-26 15:01

Repository: erp/devel/pi
Changeset: dd9fdaa8fef65f48478def02b726cc79e7f54d02
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:51:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dd9fdaa8fef65f48478def02b726cc79e7f54d02 [^]

Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Refactoring loop

---
M src-core/src/org/openbravo/xmlEngine/DataValue.java
---
(0030367)
hgbot (developer)
2010-08-26 15:01

Repository: erp/devel/pi
Changeset: b816f9aa12fe508ab72bd9706e51f567b3f3c1ed
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:52:36 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b816f9aa12fe508ab72bd9706e51f567b3f3c1ed [^]

Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Removing unused import

---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030368)
hgbot (developer)
2010-08-26 15:01

Repository: erp/devel/pi
Changeset: 28ab43581b8307da39bd21d44554688c10572c08
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:53:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/28ab43581b8307da39bd21d44554688c10572c08 [^]

Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Removing unnecessary assignment

---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030369)
hgbot (developer)
2010-08-26 15:01

Repository: erp/devel/pi
Changeset: d37d5a8b1a59c5419e23a5be817b6c4ad65629cd
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:55:00 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d37d5a8b1a59c5419e23a5be817b6c4ad65629cd [^]

Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Renaming properly new internal method.

---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
(0030671)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/33315a869d2f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030672)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/dfeacf18d718 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030673)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/8badd5d23b59 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030679)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/71ebc702ee0b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030680)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/dd9fdaa8fef6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030681)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/b816f9aa12fe [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030682)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/28ab43581b83 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0030683)
hudsonbot (developer)
2010-09-07 09:17

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/d37d5a8b1a59 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]
(0031159)
psarobe (manager)
2010-09-16 13:46

Tested working fine

- Issue History
Date Modified Username Field Change
2010-08-16 13:26 networkb New Issue
2010-08-16 13:26 networkb Assigned To => adrianromero
2010-08-16 13:26 networkb File Added: Movimientoproductosinglés.JPG
2010-08-20 09:48 adrianromero Status new => scheduled
2010-08-20 09:48 adrianromero fix_in_branch => pi
2010-08-25 13:15 hgbot Checkin
2010-08-25 13:15 hgbot Note Added: 0030313
2010-08-25 13:15 hgbot Checkin
2010-08-25 13:15 hgbot Note Added: 0030314
2010-08-25 13:15 hgbot Status scheduled => resolved
2010-08-25 13:15 hgbot Resolution open => fixed
2010-08-25 13:15 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dfeacf18d7185368618e25d0fb64ddb71c9f3d22 [^]
2010-08-25 13:15 hgbot Checkin
2010-08-25 13:15 hgbot Note Added: 0030315
2010-08-25 13:45 adrianromero Note Added: 0030316
2010-08-26 11:05 adrianromero Note Added: 0030342
2010-08-26 15:00 hgbot Checkin
2010-08-26 15:00 hgbot Note Added: 0030365
2010-08-26 15:00 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/dfeacf18d7185368618e25d0fb64ddb71c9f3d22 [^] => http://code.openbravo.com/erp/devel/pi/rev/71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d [^]
2010-08-26 15:01 hgbot Checkin
2010-08-26 15:01 hgbot Note Added: 0030366
2010-08-26 15:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d [^] => http://code.openbravo.com/erp/devel/pi/rev/dd9fdaa8fef65f48478def02b726cc79e7f54d02 [^]
2010-08-26 15:01 hgbot Checkin
2010-08-26 15:01 hgbot Note Added: 0030367
2010-08-26 15:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/dd9fdaa8fef65f48478def02b726cc79e7f54d02 [^] => http://code.openbravo.com/erp/devel/pi/rev/b816f9aa12fe508ab72bd9706e51f567b3f3c1ed [^]
2010-08-26 15:01 hgbot Checkin
2010-08-26 15:01 hgbot Note Added: 0030368
2010-08-26 15:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/b816f9aa12fe508ab72bd9706e51f567b3f3c1ed [^] => http://code.openbravo.com/erp/devel/pi/rev/28ab43581b8307da39bd21d44554688c10572c08 [^]
2010-08-26 15:01 hgbot Checkin
2010-08-26 15:01 hgbot Note Added: 0030369
2010-08-26 15:01 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/28ab43581b8307da39bd21d44554688c10572c08 [^] => http://code.openbravo.com/erp/devel/pi/rev/d37d5a8b1a59c5419e23a5be817b6c4ad65629cd [^]
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030671
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030672
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030673
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030679
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030680
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030681
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030682
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030683
2010-09-16 13:46 psarobe Note Added: 0031159
2010-09-16 13:46 psarobe Status resolved => closed
2010-09-16 13:47 psarobe Fixed in Version => 2.50MP22
2010-09-17 00:00 anonymous sf_bug_id 0 => 3068047


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker