Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0010242 | Openbravo ERP | Y. DBSourceManager | public | 2009-08-12 09:24 | 2009-10-22 00:00 |
Reporter | AinhoaPagola | ||||
Assigned To | marvintm | ||||
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Ubuntu 8.4 | |
Product Version | pi | ||||
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 | 0010242: Create.database -Dapply.on.create fails after removing a module that added columns to core AD table | ||||
Description | If a module that added columnns to core tables is removed and create.database -Dapply.on.create=yes is executed, this process fails. | ||||
Steps To Reproduce | - Install a module that adds columns to core (example attached) - Remove the folder from modules folder. (Ex: remove org.openbravo.hcm.common folder from modules folder in the workspace) - Perform ant create.database -Dapply.on.create=yes For this example, the error is: apply.module: [java] 1 [main] ERROR org.openbravo.base.exception.OBException - Property stop not defined for entity ADTreeNode [java] org.openbravo.base.exception.OBException: Property stop not defined for entity ADTreeNode [java] at org.openbravo.base.model.Entity.checkValidPropertyAndValue(Entity.java:360) [java] at org.openbravo.base.structure.BaseOBObject.setDefaultValue(BaseOBObject.java:69) [java] at org.openbravo.model.ad.utility.TreeNode.<init>(TreeNode.java:63) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [java] at org.hibernate.engine.UnsavedValueFactory.instantiate(UnsavedValueFactory.java:22) | ||||
Proposed Solution | Apparently, it fails because master-data is inserted before generate.entities is performed. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=1634&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-08-12 09:24 | AinhoaPagola | New Issue | |||
2009-08-12 09:24 | AinhoaPagola | Assigned To | => marvintm | ||
2009-08-12 09:24 | AinhoaPagola | File Added: org.openbravo.hcm.common-0.1.0.obx | |||
2009-08-12 09:24 | AinhoaPagola | OBNetwork customer | => No | ||
2009-08-17 13:25 | rafaroda | Priority | normal => high | ||
2009-08-17 13:25 | rafaroda | Status | new => scheduled | ||
2009-08-17 13:25 | rafaroda | version | => pi | ||
2009-09-23 18:14 | hgbot | Checkin | |||
2009-09-23 18:14 | hgbot | Note Added: 0020323 | |||
2009-09-23 18:14 | hgbot | Status | scheduled => resolved | ||
2009-09-23 18:14 | hgbot | Resolution | open => fixed | ||
2009-09-23 18:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 [^] | ||
2009-09-29 14:17 | hgbot | Checkin | |||
2009-09-29 14:17 | hgbot | Note Added: 0020508 | |||
2009-09-29 14:17 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 [^] | ||
2009-10-21 15:25 | plujan | Status | resolved => closed | ||
2009-10-22 00:00 | anonymous | sf_bug_id | 0 => 2883556 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|