View Issue Details

IDProjectCategoryView StatusLast Update
0006580SymmetricDS ProBugpublic2024-10-01 19:05
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.14.0 
Target Version3.14.17Fixed in Version3.14.17 
Summary0006580: Java job validation behaves incorrectly
DescriptionWhen editing the script for a Java job, the validation behaves incorrectly. The validation treats the script as if it is an entire class, but instead it should treat it as the implementation of the doJob() method.

For example, the following is a valid script for a Java job, but validation fails:

log.info("TEST");

And the following is an invalid script for a Java job, but validation succeeds:

import org.jumpmind.symmetric.job.JavaJob;
import org.apache.commons.lang3.StringUtils;
import org.jumpmind.symmetric.ISymmetricEngine;
import org.jumpmind.symmetric.model.JobDefinition.JobType;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;

public class CustomJavaJob extends JavaJob {
    public void doJob(boolean force) throws Exception {
        log.info("TEST");
    }
}
Tagsui

Relationships

related to 0006581 closedemiller Java job validation behaves incorrectly 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-09-10 13:23 emiller New Issue
2024-09-10 13:23 emiller Status new => assigned
2024-09-10 13:23 emiller Assigned To => emiller
2024-09-10 13:23 emiller Tag Attached: ui
2024-09-10 13:23 emiller Issue cloned: 0006581
2024-09-10 13:23 emiller Relationship added related to 0006581
2024-09-10 17:35 emiller Status assigned => resolved
2024-09-10 17:35 emiller Resolution open => fixed
2024-09-10 17:35 emiller Fixed in Version => 3.14.17
2024-10-01 19:05 elong Status resolved => closed