Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0011431 | Openbravo ERP | A. Platform | public | 2009-11-20 08:52 | 2010-01-22 00:00 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | urgent | Severity | major | Reproducibility | N/A | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0011431: Complete modularity checks | |||||||||||
Description | Currently there are some checks missing in modularity making possible different modules defining artifacts causing conflicts. | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | 1. Manual code -Implement properly by trigger automatic proposals of classes and html mapping. -Add validation before compiling to raise warning (future error) when there're elements not following the rule. -Notify all developers about this issue. -Write these rules in documentation. 2. WAD windows -All management should be done automatically by triggers. So make this tabs read only. -Change for WAD windows the tab class name and mapping adding them the tab's UUID, in this way we could have different modules adding to the same window tabs with the same name. 3. Column.name Currently ad_column.name is not checked to have the dbprefix for adding columns to a different module. This makes possible modules adding the different columns with the same name to a table. The solution would be: -Add a trigger not to allow new columns in this way. -Validate before compiling raising a waning (future error) -Notify all developers about this issue. -Document this. 4. Reference name Currently ad_reference table has a unique constraint for name. Name in reference should not be part of the API, I mean references shouldn't be identified by name but by UUID. My proposal is to change this uniqueness to be module and name, allowing so different modules to define a reference with the same name. The other solution would be to force references in modules to be named starting by the dbprefix, but this would require to change exitent references in modules. 5. Database objects (Indexes and constraints) Indexes and constraints are properly managed with dbprefix just in case they are for a table that is not in the same module as the object. But there's no restriction for the name to insert them in the same module. As they are unique in DB this must be guaranteed by naming rule. Proposed solution: -Add to export.database a validation rasing a warning (future error) in case the rule is not followed. I think it's easier to do this one in export.database than when compiling. -Change ALL core indexes and constraints to follow the naming rule. -Notify all developers about this issue. -Document this. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-11-20 08:52 | alostale | New Issue | ||||||||||
2009-11-20 08:52 | alostale | Assigned To | => alostale | |||||||||
2009-11-20 08:52 | alostale | OBNetwork customer | => No | |||||||||
2009-11-20 08:56 | alostale | Steps to Reproduce Updated | ||||||||||
2009-11-20 09:55 | alostale | Relationship added | related to 0010921 | |||||||||
2009-12-02 07:47 | alostale | Status | new => scheduled | |||||||||
2009-12-02 07:47 | alostale | fix_in_branch | => pi | |||||||||
2009-12-02 07:47 | alostale | Status | scheduled => resolved | |||||||||
2009-12-02 07:47 | alostale | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/c6d1f544b5e6 [^] | |||||||||
2009-12-02 07:47 | alostale | Resolution | open => fixed | |||||||||
2009-12-11 09:24 | alostale | Note Added: 0022685 | ||||||||||
2009-12-11 09:39 | hgbot | Checkin | ||||||||||
2009-12-11 09:39 | hgbot | Note Added: 0022688 | ||||||||||
2009-12-11 09:39 | hgbot | Fixed in SCM revision | https://code.openbravo.com/erp/devel/pi/rev/c6d1f544b5e6 [^] => http://code.openbravo.com/erp/devel/pi/rev/687f1bb51956affb4e1a9052d3bbeead0c937a39 [^] | |||||||||
2009-12-11 14:18 | hgbot | Checkin | ||||||||||
2009-12-11 14:18 | hgbot | Note Added: 0022708 | ||||||||||
2009-12-11 14:18 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/687f1bb51956affb4e1a9052d3bbeead0c937a39 [^] => http://code.openbravo.com/erp/devel/pi/rev/9d31ef67e88051c4b456dd1639c038b316a3c4d4 [^] | |||||||||
2009-12-15 04:56 | hudsonbot | Checkin | ||||||||||
2009-12-15 04:56 | hudsonbot | Note Added: 0022785 | ||||||||||
2010-01-21 11:32 | mtaal | Note Added: 0023702 | ||||||||||
2010-01-21 16:46 | mtaal | Note Added: 0023719 | ||||||||||
2010-01-21 16:46 | mtaal | Status | resolved => closed | |||||||||
2010-01-22 00:00 | anonymous | sf_bug_id | 0 => 2936678 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|