mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Actually return (don't just log) if no scheduledJobs table in instance
This commit is contained in:
@ -164,6 +164,7 @@ public class BaseSyncToScheduledJobTableCustomizer implements TableCustomizerInt
|
|||||||
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
|
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
|
||||||
{
|
{
|
||||||
LOG.info("ScheduledJob table not found, skipping scheduled job sync.");
|
LOG.info("ScheduledJob table not found, skipping scheduled job sync.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String primaryKeyField = QContext.getQInstance().getTable(tableName).getPrimaryKeyField();
|
String primaryKeyField = QContext.getQInstance().getTable(tableName).getPrimaryKeyField();
|
||||||
@ -205,6 +206,7 @@ public class BaseSyncToScheduledJobTableCustomizer implements TableCustomizerInt
|
|||||||
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
|
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
|
||||||
{
|
{
|
||||||
LOG.info("ScheduledJob table not found, skipping scheduled job delete.");
|
LOG.info("ScheduledJob table not found, skipping scheduled job delete.");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> sourceRecordIds = records.stream()
|
List<String> sourceRecordIds = records.stream()
|
||||||
|
Reference in New Issue
Block a user