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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014087
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2010-07-29 13:132010-09-15 00:00
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision00ab56701751
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

0014087: Tab Class should be regenerated when modifying Module field

DescriptionWhen you are creating a tab in Application Dictionary, if you modify field "Name" record for TabClass subtab is re-generated. But if you modify field "Module" record for TabClass is not re-generated.

TabClass name should be regenerated when modifying any field of Tab window.
Steps To Reproduce1. Go to Application Dictionary || Module and set core as "in development"
2. Go to Application Dictionary || Module and create one new module also set as "in development"
3. Go to Application Dictionary || Windows, Tabs, and Fields || Window: create new window for module "core" (wrongly)
4. Create new tab for the window and SAVE
5. Navigate to Application Dictionary || Windows, Tabs, and Fields || Window >> Tab >> Tab Class and realize that "Java Class Name"=org.openbravo.erpWindows.miwindow.mitab
6. Come back to Window definition and change "Module" field to choose your module
7. Come back to Tab definition and change "Module" field to choose your module
8. Navigate to Application Dictionary || Windows, Tabs, and Fields || Window >> Tab >> Tab Class and realize that "Java Class Name"=org.openbravo.erpWindows.org.openbravo.mmimod.miwindow.mitab
This is not correct as it should be
org.openbravo.erpWindows.org.openbravo.mmimod.miwindow.mitab3F337975F96C4225AC43CAC822073429
(if you compile you are not able to access this window)

In step 7, if you change "Field" name (for example, you add a blank space at the end, Save, and remove the blank space) then TabClass is properly generated as "Java Class Name"=org.openbravo.erpWindows.org.openbravo.mmimod.miwindow.mitab3F337975F96C4225AC43CAC822073429

Also, if you have created Window and Tab for your personal module and then you change their dfinition to set "Module"=core TabClass will be re-generated and set as org.openbravo.erpWindows.miwindow.mitab (which is correct)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00141202.50MP22 closedalostale Removed entries from AD_Model_Object make the system to fail 

-  Notes
(0029771)
alostale (manager)
2010-08-03 17:45

Once issue 0014120 is fixed, this one will become out of date.
(0030527)
alostale (manager)
2010-08-31 11:52

As finally 0014120 is not going to be fixed by removing model object, this issue will be fixed separately.
(0030530)
hgbot (developer)
2010-08-31 11:59

Repository: erp/devel/pi
Changeset: 00ab56701751b0dd058eb041acdafcd04c4c4c00
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Aug 31 11:58:51 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/00ab56701751b0dd058eb041acdafcd04c4c4c00 [^]

fixed bug 14087: Tab Class should be regenerated when modifying Module field

---
M src-db/database/model/triggers/AD_TAB_TRG2.xml
---
(0030706)
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/00ab56701751 [^]
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 [^]
(0031026)
marvintm (developer)
2010-09-14 10:51

Verified that if the module is changed, the Java class name is regenerated correctly.

- Issue History
Date Modified Username Field Change
2010-07-29 13:13 networkb New Issue
2010-07-29 13:13 networkb Assigned To => alostale
2010-08-02 08:09 alostale Status new => scheduled
2010-08-03 17:45 alostale Relationship added depends on 0014120
2010-08-03 17:45 alostale Note Added: 0029771
2010-08-31 11:52 alostale Note Added: 0030527
2010-08-31 11:59 hgbot Checkin
2010-08-31 11:59 hgbot Note Added: 0030530
2010-08-31 11:59 hgbot Status scheduled => resolved
2010-08-31 11:59 hgbot Resolution open => fixed
2010-08-31 11:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/00ab56701751b0dd058eb041acdafcd04c4c4c00 [^]
2010-09-07 09:17 hudsonbot Checkin
2010-09-07 09:17 hudsonbot Note Added: 0030706
2010-09-14 10:51 marvintm Note Added: 0031026
2010-09-14 10:51 marvintm Status resolved => closed
2010-09-15 00:00 anonymous sf_bug_id 0 => 3066283


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker