Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035232 | Retail Modules | StoreServer | public | 2017-02-12 22:54 | 2017-02-20 09:02 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | 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 | 0035232: Prevent NPE in store data validator when row does not exist | ||||
Description | If the database is not correct and a referenced row does not exist then the store validation ends up in a NPE [1]. This should be prevented and a clearer message should be shown. [1] [SynchronizationStoreDataValidationTask] 117/117 tables validated, 1 errors so far [SynchronizationStoreDataValidationTask] 1 errors found: BUILD FAILED /home/mtaal/mydata/dev/openbravo/projects/ioritz/openbravo/modules/org.openbravo.replication.symmetricds/build.xml:62: java.lang.NullPointerException at org.openbravo.replication.symmetricds.validation.DataValidationError.logMissingId(DataValidationError.java:91) at org.openbravo.replication.symmetricds.validation.DataValidationError.expandErrorAndLog(DataValidationError.java:84) at org.openbravo.replication.symmetricds.validation.SynchronizationStoreDataValidator.logErrors(SynchronizationStoreDataValidator.java:227) at org.openbravo.replication.symmetricds.validation.SynchronizationStoreDataValidator.validateData(SynchronizationStoreDataValidator.java:136) at org.openbravo.replication.symmetricds.task.StoreDataValidatorTask.doExecute(StoreDataValidatorTask.java:35) at org.openbravo.dal.core.DalInitializingTask.execute(DalInitializingTask.java:120) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||||
Steps To Reproduce | Difficult to reproduce as the data should not exist. | ||||
Proposed Solution | Show message | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-02-12 22:54 | mtaal | New Issue | |||
2017-02-12 22:54 | mtaal | Assigned To | => mtaal | ||
2017-02-12 22:54 | mtaal | Triggers an Emergency Pack | => No | ||
2017-02-12 22:55 | mtaal | Review Assigned To | => AugustoMauch | ||
2017-02-12 23:51 | hgbot | Checkin | |||
2017-02-12 23:51 | hgbot | Note Added: 0094229 | |||
2017-02-12 23:51 | hgbot | Status | new => resolved | ||
2017-02-12 23:51 | hgbot | Resolution | open => fixed | ||
2017-02-12 23:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/553709fd248317120a057e466995b1ec21c57474 [^] | ||
2017-02-20 09:02 | AugustoMauch | Note Added: 0094451 | |||
2017-02-20 09:02 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|