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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025276
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2013-12-05 09:092013-12-19 12:30
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP31
StatusclosedFix in branchFixed in SCM revisionaee3dd40fd04
ProjectionnoneETAnoneTarget Version3.0MP31
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025276: Add new mode to DataToJsonConverter to translate all translatable properties in BaseOBObject

DescriptionDataToJsonConverter class is in charge of converting BaseOBObjects into JSON used, for example, to represent data in grid.

When these objects have a translatable identifier, it is translated to the context's language (if possible), but in case the object has some translatable properties they are not tried to be translated.

This behavior makes sense for the general usage, where the base values are wanted to be seen.

But in some cases, such as WebPOS usage, it is desirable to translate all translatable properties in the object.
Steps To Reproduce-
Proposed SolutionAdd a new resolving mode (DataResolvingMode.FULL_TRANSLATABLE) that will be used to try to translate all properties.

This mode will be used from WebPOS
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00252753.0MP31 closedalostale Add translation infrastructure for Product Categories and Promotions 

-  Notes
(0062548)
hgbot (developer)
2013-12-05 09:44

Repository: erp/devel/pi
Changeset: aee3dd40fd0424275002c3340e09720e7684504f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Dec 05 09:10:33 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/aee3dd40fd0424275002c3340e09720e7684504f [^]

fixed issue 25276: new mode in DataToJsonConverter to translate all properties

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataResolvingMode.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
---
(0062827)
hudsonbot (developer)
2013-12-19 12:30

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-12-05 09:09 alostale New Issue
2013-12-05 09:09 alostale Assigned To => alostale
2013-12-05 09:09 alostale Modules => Core
2013-12-05 09:09 alostale Triggers an Emergency Pack => No
2013-12-05 09:09 alostale Review Assigned To => marvintm
2013-12-05 09:10 alostale Relationship added related to 0025275
2013-12-05 09:44 hgbot Checkin
2013-12-05 09:44 hgbot Note Added: 0062548
2013-12-05 09:44 hgbot Status new => resolved
2013-12-05 09:44 hgbot Resolution open => fixed
2013-12-05 09:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aee3dd40fd0424275002c3340e09720e7684504f [^]
2013-12-10 09:44 marvintm Status resolved => closed
2013-12-10 09:44 marvintm Fixed in Version => 3.0MP31
2013-12-19 12:30 hudsonbot Checkin
2013-12-19 12:30 hudsonbot Note Added: 0062827


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker