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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034119
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2016-09-28 13:292018-02-22 18:18
ReporteregoitzView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q2
StatusclosedFix in branchFixed in SCM revisionb1253e5b88c5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034119: The syncrhonize terminology does not work properly on po windows on some circunstances

DescriptionThe synchronize terminology does not take the translation properly on the following scenario.
Steps To ReproduceInstall the translation for spanish
Define a new module as indevelopment with language es_ES (spanish(Spain))
Create for the new module a new window defined as maintenance window and not sales window.
Create a tab for m_inouttable.
Create the fields with the create fields process and check that they are defined as central maintenance.
Execute the syncrhonize terminology process.

*The description and help fields take properly the translated values but the name for the c_doctype_id field is not changed.

Proposed SolutionModify that line on the ad_synchronize function:

  (SELECT COALESCE(T.PO_NAME, (CASE WHEN e.PO_NAME='' THEN e.name ELSE COALESCE(e.PO_NAME,e.name) END), t.name, e.name)

The t.name should be used before the e.name.
TagsNo tags attached.
Attached Filespatch file icon bug-34119.patch [^] (2,609 bytes) 2017-12-21 13:06 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0022324 closedshankarb Synchronize terminology not work properly in g/l journal window 
related to defect 0033889 feedbackJONHM Synchronize Terminology fails when only having a Template in development 

-  Notes
(0101840)
hgbot (developer)
2018-01-22 13:51

Repository: erp/devel/pi
Changeset: b1253e5b88c5cebb28fa4349902e01eefcdd0ee0
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Wed Dec 20 14:01:34 2017 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b1253e5b88c5cebb28fa4349902e01eefcdd0ee0 [^]

Fixed bug 34119: Sync terminology doesn't translate some PO window fields.

In Synchronize Terminology the PO field's name is taken from its element instead of the element's translation (when available) when the element's PO_NAME field is empty.
Now the element's translation takes precedence over the element values. It is ordered as follows:

ad_element_trl.PO_NAME > ad_element.po_name > ad_element_trl.name > ad_element.name

---
M src-db/database/model/functions/AD_SYNCHRONIZE.xml
---
(0101842)
hgbot (developer)
2018-01-22 13:53

Repository: erp/devel/pi
Changeset: c93d3936f33936a274b3c70f3cd6f5e64f8a2444
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Jan 22 13:52:31 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c93d3936f33936a274b3c70f3cd6f5e64f8a2444 [^]

related to issue 34119: update copyright year

---
M src-db/database/model/functions/AD_SYNCHRONIZE.xml
---
(0101843)
caristu (developer)
2018-01-22 13:54

Code reviewed + tested OK.
(0102677)
hudsonbot (developer)
2018-02-22 18:18

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/980a6ad5bbf5 [^]
Maturity status: Test
(0102678)
hudsonbot (developer)
2018-02-22 18:18

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/980a6ad5bbf5 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-09-28 13:29 egoitz New Issue
2016-09-28 13:29 egoitz Assigned To => platform
2016-09-28 13:29 egoitz Modules => Core
2016-09-28 13:29 egoitz Triggers an Emergency Pack => No
2016-09-29 09:13 alostale Relationship added related to 0033889
2016-09-29 09:13 alostale Status new => acknowledged
2017-12-13 19:28 caristu Assigned To platform => jarmendariz
2017-12-18 18:18 jarmendariz Status acknowledged => scheduled
2017-12-19 12:57 jarmendariz Relationship added related to 0022324
2017-12-21 13:06 jarmendariz File Added: bug-34119.patch
2017-12-21 13:07 jarmendariz Review Assigned To => caristu
2018-01-22 13:51 hgbot Checkin
2018-01-22 13:51 hgbot Note Added: 0101840
2018-01-22 13:51 hgbot Status scheduled => resolved
2018-01-22 13:51 hgbot Resolution open => fixed
2018-01-22 13:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1253e5b88c5cebb28fa4349902e01eefcdd0ee0 [^]
2018-01-22 13:53 hgbot Checkin
2018-01-22 13:53 hgbot Note Added: 0101842
2018-01-22 13:54 caristu Note Added: 0101843
2018-01-22 13:54 caristu Status resolved => closed
2018-01-22 13:54 caristu Fixed in Version => 3.0PR18Q2
2018-02-22 18:18 hudsonbot Checkin
2018-02-22 18:18 hudsonbot Note Added: 0102677
2018-02-22 18:18 hudsonbot Checkin
2018-02-22 18:18 hudsonbot Note Added: 0102678


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker