Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021073 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2012-07-13 14:31 | 2012-07-17 11:30 | |||
Reporter | Sandrahuguet | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP13 | |||
Status | closed | Fix in branch | Fixed in SCM revision | eefb7b36438c | ||||
Projection | none | ETA | none | Target Version | 3.0MP13 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Community Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
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 | 0021073: Impossible to do export.database with computed column | |||||||
Description | Impossible to do export.database with computed column | |||||||
Steps To Reproduce | With the new concept computed column -Create a column with sqllogic -Create a field asociate, this field must be read only | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0050569) Sandrahuguet (viewer) 2012-07-13 14:32 |
Error: Errors for Validation type: NOT_EXIST_IN_DB +++++++++++++++++++++++++++++++++++++++++++++++++++ Column FIN_Financial_Account.lastreconciliation defined in the Application Dictionary but not present in the database. Module validation failed, see the above list of errors for more information BUILD FAILED /home/openbravo/workspace4o/pi/openbravo/build.xml:746: The following error occurred while executing this line: /home/openbravo/workspace4o/pi/openbravo/src-db/database/build.xml:155: org.openbravo.base.exception.OBException: Module validation failed, see the above list of errors for more information at org.openbravo.ddlutils.task.ExportDatabase.validateDatabaseForModule(ExportDatabase.java:287) at org.openbravo.ddlutils.task.ExportDatabase.execute(ExportDatabase.java:161) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) |
(0050604) hgbot (developer) 2012-07-16 13:42 |
Repository: erp/devel/pi Changeset: eefb7b36438c4aa907c7542f44e0bf00cf684d63 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Jul 16 13:41:04 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/eefb7b36438c4aa907c7542f44e0bf00cf684d63 [^] Fixes issue 21073: Computed columns do not need a database column If a column is a computed column (it has defined sql logic), it does not need to have a database column. --- M src/org/openbravo/service/system/DatabaseValidator.java --- |
(0050605) AugustoMauch (administrator) 2012-07-16 13:48 |
Test plan: - Open the Tables and Columns window and add a column with Sql logic. - Run export.database. It should not fail, because columns with sql logic defined do not need a physical column - Delete the sql logic from the previously defined column. - Run again export.database. Now it should fail, because the new column does not have sql logic and does not have a column defined in the database. The fix is not risky. |
(0050630) alostale (viewer) 2012-07-16 18:31 |
Code reviewed and verified on pi@eefb7b36438c |
(0050649) hudsonbot (viewer) 2012-07-17 11:30 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/e0c03882496c [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-13 14:31 | Sandrahuguet | New Issue | |
2012-07-13 14:31 | Sandrahuguet | Assigned To | => alostale |
2012-07-13 14:31 | Sandrahuguet | Modules | => Core |
2012-07-13 14:31 | Sandrahuguet | OBNetwork customer | => No |
2012-07-13 14:32 | Sandrahuguet | Description Updated | View Revisions |
2012-07-13 14:32 | Sandrahuguet | Note Added: 0050569 | |
2012-07-13 14:32 | Sandrahuguet | Description Updated | View Revisions |
2012-07-16 13:36 | AugustoMauch | Assigned To | alostale => AugustoMauch |
2012-07-16 13:42 | hgbot | Checkin | |
2012-07-16 13:42 | hgbot | Note Added: 0050604 | |
2012-07-16 13:42 | hgbot | Status | new => resolved |
2012-07-16 13:42 | hgbot | Resolution | open => fixed |
2012-07-16 13:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/eefb7b36438c4aa907c7542f44e0bf00cf684d63 [^] |
2012-07-16 13:48 | AugustoMauch | Note Added: 0050605 | |
2012-07-16 18:31 | alostale | Note Added: 0050630 | |
2012-07-16 18:31 | alostale | Status | resolved => closed |
2012-07-16 18:31 | alostale | Fixed in Version | => 3.0MP13 |
2012-07-17 11:30 | hudsonbot | Checkin | |
2012-07-17 11:30 | hudsonbot | Note Added: 0050649 |
Copyright © 2000 - 2009 MantisBT Group |