Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011341Openbravo ERP00. Application dictionarypublic2009-11-12 17:302009-11-21 00:00
networkb 
alostale 
immediatemajoralways
closedfixed 
5
2.50MP8 
2.50MP9 
Core
No
0011341: The same name appears in all menu entries
When you create a new window and then you change its name later, when you changed the language, the name of the window appears in all menu entries.
1) Log in as System Administrator
2) Navigate to General Setup > Application > Language
3) Select Albanian record, set it as System Language and Click on Verify Languages
4) Navigate to Application Dictionary > Module
5) Create a new module:
* Name = MyModule
* In Development = Yes
* Version = 1.0.0
* Java Packagename = org.openbravo.mymodule
* Module Language = Albanian
6) Navigate Data Package tab and create a record: org.openbravo.mymodule
7) Navigate to Application Dictionary > Windows, Tabs and Fields
8) Create a new record:
* Name = My Window
* Module = MyModule - 1.0.0 - Albanian (Albania)
9) Go to General Setup > Application > Menu
10) Create a new record:
* Name = My Menu Entry
* Module = MyModule - 1.0.0 - Albanian (Albania)
* Action = Window
* Window = My Window
11) Navigate back to Application Dictionary > Windows, Tabs and Fields
12) Select the former record and change its name to My Window Name Changed
13) Click on user link (top left) and change the language to Albanian

Notice that ALL the menu entries are called "My Window Name Changed".

Make the following select:
SELECT NAME FROM AD_MENU_TRL WHERE AD_LANGUAGE = 'sq_AL'
Review AD_WINDOW_TRG line 99 https://code.openbravo.com/erp/devel/pi/file/6a08cb684ed5/src-db/database/model/triggers/AD_WINDOW_TRG.xml#l99 [^]
No tags attached.
Issue History
2009-11-12 17:30networkbNew Issue
2009-11-12 17:30networkbAssigned To => rafaroda
2009-11-16 13:06rafarodaNote Added: 0021853
2009-11-16 13:06rafarodaStatusnew => feedback
2009-11-20 09:45networkbNote Added: 0022046
2009-11-20 13:18rafarodaAssigned Torafaroda => alostale
2009-11-20 13:18rafarodaPriorityimmediate => urgent
2009-11-20 13:18rafarodaStatusfeedback => scheduled
2009-11-20 13:18rafarodaDescription Updated
2009-11-20 13:18rafarodaProposed Solution updated
2009-11-20 13:18rafarodaSteps to Reproduce Updated
2009-11-20 13:19rafarodaPriorityurgent => immediate
2009-11-20 14:35hgbotCheckin
2009-11-20 14:35hgbotNote Added: 0022064
2009-11-20 14:35hgbotStatusscheduled => resolved
2009-11-20 14:35hgbotResolutionopen => fixed
2009-11-20 14:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/580eb944a725451c13355277ecac0de15d3a663d [^]
2009-11-20 15:54marvintmNote Added: 0022067
2009-11-20 15:54marvintmStatusresolved => closed
2009-11-21 00:00anonymoussf_bug_id0 => 2901475

Notes
(0021853)
rafaroda   
2009-11-16 13:06   
Not able to reproduce this issue.

Please provide more information or try other steps to reproduce.

Thanks.
(0022046)
networkb   
2009-11-20 09:45   
All names in ad_menu_trl when ad_language ='es_ES' change when you modify the window's name created. This window belong to the module created.
(0022064)
hgbot   
2009-11-20 14:35   
Repository: erp/devel/pi
Changeset: 580eb944a725451c13355277ecac0de15d3a663d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Nov 20 14:35:31 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/580eb944a725451c13355277ecac0de15d3a663d [^]

fixed bug 11341: The same name appears in all menu entries

---
M src-db/database/model/triggers/AD_WINDOW_TRG.xml
---
(0022067)
marvintm   
2009-11-20 15:54   
Followed the steps to reproduce it, and didn't encounter the problem, so this has been fixed.