Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0034861 | Retail Modules | StoreServer | public | 2017-01-08 09:09 | 2017-01-11 17:35 | |||||||
Reporter | mtaal | |||||||||||
Assigned To | mtaal | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR17Q2 | Fixed in Version | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | AugustoMauch | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034861: Solve oracle issues in store server build | |||||||||||
Description | The build on oracle fails [1] and [2]. This because the insert statement here [1] does not have enough values. There are also several other sql statements which are incorrect. See the changesets in this issue. [1] https://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/file/4557d1c17a88/src/org/openbravo/replication/symmetricds/extensions/BatchDatabaseWriterControl.java#l94 [^] [2] https://ci.openbravo.com/view/storeserver/job/ret-ms-mix-db-central-oracle/29/artifact/SANDBOX/tomcat-logs/ret-ms-mix-db-central-oracle.log [^] [3] 2017-01-07 15:47:56,696 [central-data-loader-1] ERROR org.jumpmind.symmetric.service.impl.DataLoaderService - Failed to load batch Store1-4 org.jumpmind.db.sql.SqlException: ORA-00947: not enough values at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:283) at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:274) at org.jumpmind.db.sql.JdbcSqlTransaction.executeCallback(JdbcSqlTransaction.java:381) at org.jumpmind.db.sql.JdbcSqlTransaction.execute(JdbcSqlTransaction.java:272) at org.openbravo.replication.symmetricds.extensions.BatchDatabaseWriterControl.doPreBatchAction(BatchDatabaseWriterControl.java:93) at org.openbravo.replication.symmetricds.extensions.BatchDatabaseWriterControl.beforeWrite(BatchDatabaseWriterControl.java:86) at org.openbravo.replication.symmetricds.extensions.BatchDatabaseWriterControl$Proxy$_$$_WeldClientProxy.beforeWrite(BatchDatabaseWriterControl$Proxy$_$$_WeldClientProxy.java) at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.filterBefore(AbstractDatabaseWriter.java:278) at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.write(AbstractDatabaseWriter.java:148) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:65) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:207) at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:200) at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:170) | |||||||||||
Steps To Reproduce | Check the store server build | |||||||||||
Proposed Solution | Share the same sql statement in different places to prevent wrong sql for oracle. There is already a symmetric ds trigger handler which also needs to enable/disable triggers [1]. [1] https://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/file/4557d1c17a88/src/org/openbravo/replication/symmetricds/util/SymmetricDSTriggerHandler.java [^] | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-01-08 09:09 | mtaal | New Issue | ||||||||||
2017-01-08 09:09 | mtaal | Assigned To | => mtaal | |||||||||
2017-01-08 09:09 | mtaal | Triggers an Emergency Pack | => No | |||||||||
2017-01-08 09:09 | mtaal | Status | new => scheduled | |||||||||
2017-01-08 09:36 | hgbot | Checkin | ||||||||||
2017-01-08 09:36 | hgbot | Note Added: 0093244 | ||||||||||
2017-01-08 09:36 | hgbot | Status | scheduled => resolved | |||||||||
2017-01-08 09:36 | hgbot | Resolution | open => fixed | |||||||||
2017-01-08 09:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/061d39ff979ab5b184360d894c05885d8618eb68 [^] | |||||||||
2017-01-08 10:19 | mtaal | Review Assigned To | => AugustoMauch | |||||||||
2017-01-08 13:17 | hgbot | Checkin | ||||||||||
2017-01-08 13:17 | hgbot | Note Added: 0093246 | ||||||||||
2017-01-08 13:17 | hgbot | Checkin | ||||||||||
2017-01-08 13:17 | hgbot | Note Added: 0093247 | ||||||||||
2017-01-08 17:56 | hgbot | Checkin | ||||||||||
2017-01-08 17:56 | hgbot | Note Added: 0093248 | ||||||||||
2017-01-08 23:26 | hgbot | Checkin | ||||||||||
2017-01-08 23:26 | hgbot | Note Added: 0093250 | ||||||||||
2017-01-09 18:53 | mtaal | Status | resolved => new | |||||||||
2017-01-09 18:53 | mtaal | Resolution | fixed => open | |||||||||
2017-01-09 18:53 | mtaal | Summary | Disable trigger sql statement gives error in oracle => Solve oracle issues in store server build | |||||||||
2017-01-09 18:53 | mtaal | Description Updated | bug_revision_view_page.php?rev_id=14226#r14226 | |||||||||
2017-01-09 18:56 | hgbot | Checkin | ||||||||||
2017-01-09 18:56 | hgbot | Note Added: 0093281 | ||||||||||
2017-01-09 23:55 | hgbot | Checkin | ||||||||||
2017-01-09 23:55 | hgbot | Note Added: 0093288 | ||||||||||
2017-01-11 11:24 | mtaal | Note Added: 0093339 | ||||||||||
2017-01-11 11:24 | mtaal | Status | new => scheduled | |||||||||
2017-01-11 11:25 | mtaal | Note Added: 0093340 | ||||||||||
2017-01-11 11:25 | mtaal | Status | scheduled => resolved | |||||||||
2017-01-11 11:25 | mtaal | Resolution | open => fixed | |||||||||
2017-01-11 17:35 | AugustoMauch | Note Added: 0093371 | ||||||||||
2017-01-11 17:35 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|