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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006924
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminorhave not tried2009-01-15 16:482009-04-30 19:18
ReporterpmagninView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchpiFixed in SCM revision11a3c81b8457
ProjectionnoneETAnoneTarget Version2.50
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006924: Modularity Issue when modifying Module name for table

DescriptionThe table fields are associated to the active table module when you click on the button "Create Columns from DB" on the table page setup.
If you change the module name after clicking this button (You forgot for example to choose your own module), the table is well affected to the module but the fields are still belonging to the previous module.
Steps To Reproduce1) Create a module "MyModule"
2) Create a table in your DB
3) Create the same table on the application with the module "Core" (Click Save)
4) Create fields clicking the button "Create Columns from DB"
5) Change the module name of your table (MyModule)
6) Click save and try to execute the process "Synchronize Terminology"

==> Error
Proposed SolutionForbid changing the module name after having saving the table. The user would have to first delete his table and create it again, using the good module before adding the fields.
Tagsmain, Modularity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0015511)
alostale (manager)
2009-04-22 10:05

The solution for this bug is to force the table's module (through its package) to be consistent with its name following the moudularity's naming rules.
(0015512)
hgbot (developer)
2009-04-22 10:08

Repository: erp/devel/pi
Changeset: fc6eff08c994d9fac98097ff80a5e118a1151be9
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 22 10:08:14 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fc6eff08c994d9fac98097ff80a5e118a1151be9 [^]

fixed bug 0006924: Modularity Issue when modifying Module name for table

---
M src-db/database/model/triggers/AD_TABLE_TRG.xml
---
(0015523)
hgbot (developer)
2009-04-22 12:44

Repository: erp/devel/pi
Changeset: f7b1977a3bcce770293ee163e323ffb4117ec952
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 22 12:37:45 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f7b1977a3bcce770293ee163e323ffb4117ec952 [^]

test case for issue 6924

---
A src-test/org/openbravo/test/modularity/TableNameTest.java
---
(0015524)
hgbot (developer)
2009-04-22 12:44

Repository: erp/devel/pi
Changeset: ddf391047a42013e1bc4068175c66baaa14d39e1
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 22 12:44:15 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ddf391047a42013e1bc4068175c66baaa14d39e1 [^]

added new test case for issue 0006924

---
M src-test/org/openbravo/test/modularity/TableNameTest.java
---
(0015548)
hgbot (developer)
2009-04-22 16:28

Repository: erp/devel/pi
Changeset: 11a3c81b8457bca2b442b71f66bee2449ac1bf46
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Apr 22 16:28:10 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/11a3c81b8457bca2b442b71f66bee2449ac1bf46 [^]

fixed bug 6924

---
M src-db/database/model/triggers/AD_TABLE_TRG.xml
---

- Issue History
Date Modified Username Field Change
2009-01-15 16:48 pmagnin New Issue
2009-01-15 16:48 pmagnin Assigned To => rafaroda
2009-01-15 16:48 pmagnin sf_bug_id 0 => 2510234
2009-01-15 16:48 pmagnin Regression testing => No
2009-01-15 16:57 rafaroda Tag Attached: Modularity
2009-01-19 11:25 psarobe Status new => scheduled
2009-01-19 11:25 psarobe Assigned To rafaroda => alostale
2009-01-19 11:25 psarobe fix_in_branch => trunk
2009-04-22 10:05 alostale Note Added: 0015511
2009-04-22 10:08 hgbot Checkin
2009-04-22 10:08 hgbot Note Added: 0015512
2009-04-22 10:08 hgbot Status scheduled => resolved
2009-04-22 10:08 hgbot Resolution open => fixed
2009-04-22 10:08 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fc6eff08c994d9fac98097ff80a5e118a1151be9 [^]
2009-04-22 11:23 psarobe Tag Attached: main
2009-04-22 12:44 hgbot Checkin
2009-04-22 12:44 hgbot Note Added: 0015523
2009-04-22 12:44 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/fc6eff08c994d9fac98097ff80a5e118a1151be9 [^] => http://code.openbravo.com/erp/devel/pi/rev/f7b1977a3bcce770293ee163e323ffb4117ec952 [^]
2009-04-22 12:44 hgbot Checkin
2009-04-22 12:44 hgbot Note Added: 0015524
2009-04-22 12:44 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/f7b1977a3bcce770293ee163e323ffb4117ec952 [^] => http://code.openbravo.com/erp/devel/pi/rev/ddf391047a42013e1bc4068175c66baaa14d39e1 [^]
2009-04-22 16:28 hgbot Checkin
2009-04-22 16:28 hgbot Note Added: 0015548
2009-04-22 16:28 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/ddf391047a42013e1bc4068175c66baaa14d39e1 [^] => http://code.openbravo.com/erp/devel/pi/rev/11a3c81b8457bca2b442b71f66bee2449ac1bf46 [^]
2009-04-30 19:18 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker