Project: talenddataquality
Issue TDQ-11957: at certain operations, error log get failed status, but the Analysis result UI doesn't change
1. create a column analysis about mysql, run it, successfully. 2. create a pattern, add "Default" definition. 3. add pattern to analysis. 4. change pattern definition to "Oracle", then analysis should run failed (If run analysis before change pattern, it will not fail.） 5. run analysis , other indicators not run at all. in error log, get failed status, but in Analysis UI doesn't change, still step 1 result, other indicator also doesn't run,Attached the log and pic. on 611 will get failed status, and{color:red}+ other indicators will run+{color} what our process, first check definition is ok or not, if all ok, then run?, but in error log we connect to db, if we don't run can we avoid connect db. if one not ok, then stop the process? 622 error log {code} !ENTRY org.talend.platform.logging 1 0 2016-04-28 12:06:36.879 !MESSAGE 2016-04-28 12:06:36,879 INFO org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction - DB Product Name: MySQL !ENTRY org.talend.platform.logging 1 0 2016-04-28 12:06:36.879 !MESSAGE 2016-04-28 12:06:36,879 INFO org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction - DB Product Version: 5.6.19-log !ENTRY org.talend.platform.logging 1 0 2016-04-28 12:06:37.159 !MESSAGE 2016-04-28 12:06:37,159 INFO org.talend.dq.helper.AnalysisExecutorHelper - Connection to mysql_db_for_testlink !ENTRY org.talend.platform.logging 4 0 2016-04-28 12:06:37.169 !MESSAGE 2016-04-28 12:06:37,159 ERROR org.talend.dq.analysis.AnalysisExecutor - No pattern found for database type: MySQL for indicator pp_1 !ENTRY org.talend.platform.logging 4 0 2016-04-28 12:06:37.169 !MESSAGE 2016-04-28 12:06:37,169 ERROR org.talend.dq.analysis.ColumnAnalysisSqlExecutor - Error when creating query with indicator "pp_1" !ENTRY org.talend.platform.logging 1 0 2016-04-28 12:06:37.549 !MESSAGE 2016-04-28 12:06:37,549 INFO org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction - "Analysis "column_mysql" execution code: KO: No pattern found for database type: MySQL for indicator pp_1. Duration: 0.23 s. {code}
Story points: 1