Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013641 | Openbravo ERP | Y. DBSourceManager | public | 2010-06-14 12:20 | 2010-07-17 00:00 |
| Reporter | networkb | ||||
| Assigned To | marvintm | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | 2.50MP18 | ||||
| Target Version | 2.50MP20 | Fixed in Version | |||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0013641: The export.database task fails when a function or trigger has been created from pgAdmin on windows | ||||
| Description | The export.database task fails when a function or trigger has been created from pgAdmin on windows. The problem is on the checkTranslationConsistency process. This is because on windows instead of \n is used \r \n | ||||
| Steps To Reproduce | -Create a function on a database from pgadmin on windows. -Try to export the database with ant export.database You get this error: [exportdatabase] ******************************************************** [exportdatabase] Found differences in FUNCTION_NAME [exportdatabase] ******************************************************** [exportdatabase] java.lang.ArrayIndexOutOfBoundsException: 0 [exportdatabase] at org.apache.ddlutils.platform.PlatformImplBase.printDiff(PlatformImplBase.java:2981) [exportdatabase] at org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform.checkTranslationConsistency(PostgreSqlPlatform.java:472) [exportdatabase] at org.openbravo.ddlutils.task.ExportDatabase.execute(ExportDatabase.java:120) [exportdatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [exportdatabase] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) [exportdatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exportdatabase] at java.lang.reflect.Method.invoke(Method.java:597) [exportdatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) [exportdatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [exportdatabase] at org.apache.tools.ant.Target.execute(Target.java:357) [exportdatabase] at org.apache.tools.ant.Target.performTasks(Target.java:385) [exportdatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [exportdatabase] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [exportdatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [exportdatabase] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416) [exportdatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) [exportdatabase] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) [exportdatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exportdatabase] at java.lang.reflect.Method.invoke(Method.java:597) [exportdatabase] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) [exportdatabase] at org.apache.tools.ant.Task.perform(Task.java:348) [exportdatabase] at org.apache.tools.ant.Target.execute(Target.java:357) [exportdatabase] at org.apache.tools.ant.Target.performTasks(Target.java:385) [exportdatabase] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) [exportdatabase] at org.apache.tools.ant.Project.executeTarget(Project.java:1298) [exportdatabase] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [exportdatabase] at org.apache.tools.ant.Project.executeTargets(Project.java:1181) [exportdatabase] at org.apache.tools.ant.Main.runBuild(Main.java:698) [exportdatabase] at org.apache.tools.ant.Main.startAnt(Main.java:199) [exportdatabase] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) [exportdatabase] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) update.dbupdate.timestamp: [sql] Executing commands [sql] 1 of 1 SQL statements executed successfully BUILD SUCCESSFUL | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-06-14 12:20 | networkb | New Issue | |||
| 2010-06-14 12:20 | networkb | Assigned To | => marvintm | ||
| 2010-06-14 12:20 | networkb | OBNetwork customer | => Yes | ||
| 2010-06-14 13:02 | iciordia | Status | new => acknowledged | ||
| 2010-06-29 13:13 | hgbot | Checkin | |||
| 2010-06-29 13:13 | hgbot | Note Added: 0028855 | |||
| 2010-06-29 13:13 | hgbot | Status | acknowledged => resolved | ||
| 2010-06-29 13:13 | hgbot | Resolution | open => fixed | ||
| 2010-06-29 13:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ec19b75afff3696e7b308742bd3e35f9a8697101 [^] | ||
| 2010-06-29 15:23 | hgbot | Checkin | |||
| 2010-06-29 15:23 | hgbot | Note Added: 0028865 | |||
| 2010-06-29 15:23 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/ec19b75afff3696e7b308742bd3e35f9a8697101 [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/7f331c7ba43dbfc98851cf561f4551167a02b1a5 [^] | ||
| 2010-07-02 14:50 | hudsonbot | Checkin | |||
| 2010-07-02 14:50 | hudsonbot | Note Added: 0028994 | |||
| 2010-07-16 18:40 | shuehner | Note Added: 0029369 | |||
| 2010-07-16 18:40 | shuehner | Status | resolved => closed | ||
| 2010-07-17 00:00 | anonymous | sf_bug_id | 0 => 3030768 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||