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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013327
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2010-05-14 12:512010-06-17 00:00
ReporternetworkbView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision86b0e6bd04aa
ProjectionnoneETAnoneTarget Version2.50MP19
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP14SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013327: Error when using "Copy Window Tabs" process in a module with Language diferent from Englis(USA)

DescriptionWhen you are defining a new module and you set it as "Translation Required=Y" and "Module Language"=Spanish (having installed Spanish Translation in the application), and the you try to run "Copy Window Tabs" process you will get the following error :
Error:
el valor null para la columna «name» viola la restricción not null

It is referred to LANGUAGE variable, and if you change "Module Language"=English (USA) you will be able to run the process
Steps To Reproduce1. Application Dictionary || Module || Module : create new module IN DEVELOPMENT, check "Translation Required" and set "Module Language"=Spanish
2. Application Dictionary || Windows, Tabs, and Fields || Window : create new window for your module and press "Copy Window Tabs" button, choose any window.
3. You will get the error
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0028350)
hgbot (developer)
2010-06-14 11:25

Repository: erp/devel/pi
Changeset: 86b0e6bd04aa22ed4aa839fa5d5445893b375189
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 14 11:19:40 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/86b0e6bd04aa22ed4aa839fa5d5445893b375189 [^]

Fixed issue 13327. AD_WINDOW_COPY procedure will now work when the language of the source module and the target one are different.
Basically, a coalesce-using structure has been added to get the translated version of the name, description, and help, both for the main tables (ad_tab, ad_field) and also for the _trl tables, and if it doesn't exist, then use the name, description, and help of the original row.

---
M src-db/database/model/functions/AD_WINDOW_COPY.xml
---
(0028400)
hudsonbot (developer)
2010-06-15 05:43

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/86b0e6bd04aa [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f7644da65496 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17606.obx [^]
(0028531)
iperdomo (reporter)
2010-06-16 22:34

Tested on pi @ rev e6a6e9dcefab

- Issue History
Date Modified Username Field Change
2010-05-14 12:51 networkb New Issue
2010-05-14 12:51 networkb Assigned To => alostale
2010-05-14 13:24 networkb Target Version 2.50MP18 => 2.50MP19
2010-05-17 08:25 alostale Status new => scheduled
2010-06-09 11:15 alostale Assigned To alostale => marvintm
2010-06-14 11:25 hgbot Checkin
2010-06-14 11:25 hgbot Note Added: 0028350
2010-06-14 11:25 hgbot Status scheduled => resolved
2010-06-14 11:25 hgbot Resolution open => fixed
2010-06-14 11:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/86b0e6bd04aa22ed4aa839fa5d5445893b375189 [^]
2010-06-15 05:43 hudsonbot Checkin
2010-06-15 05:43 hudsonbot Note Added: 0028400
2010-06-16 22:34 iperdomo Note Added: 0028531
2010-06-16 22:34 iperdomo Status resolved => closed
2010-06-17 00:00 anonymous sf_bug_id 0 => 3017324


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker