Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010242 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | have not tried | 2009-08-12 09:24 | 2009-10-22 00:00 | |||
Reporter | AinhoaPagola | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 402da4a11d1c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Any | Java version | 1.5 | |||
OS Version | Ubuntu 8.4 | Database version | Ant version | 1.7 | ||||
Product Version | pi | SCM revision | ||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0020323) hgbot (developer) 2009-09-23 18:14 |
Repository: erp/devel/pi Changeset: 402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Sep 23 15:34:56 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 [^] Fixed issue 10242. Generate.entities will be done on create.database -Dapply.on.create=true to prevent the problem. --- M build.xml --- |
(0020508) hgbot (developer) 2009-09-29 14:17 |
Repository: erp/devel/pi-pageddatagrid Changeset: 402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 Author: Antonio Moreno <antonio.moreno <at> openbravo.com> Date: Wed Sep 23 15:34:56 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/402da4a11d1cd30dd4d7bbb1d5f01ecee5dee082 [^] Fixed issue 10242. Generate.entities will be done on create.database -Dapply.on.create=true to prevent the problem. --- M build.xml --- |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |