View Issue Details

IDProjectCategoryView StatusLast Update
0006581SymmetricDS ProBugpublic2024-09-10 18:00
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.15.0 
Target Version3.15.9Fixed in Version3.15.9 
Summary0006581: 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 0006580 resolvedemiller Java job validation behaves incorrectly 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.15 54ca1ed2

2024-09-10 15:38:21

evan-miller-jumpmind

Details Diff
0006581: Fixed Java job validation behaving incorrectly Affected Issues
0006581
mod - symmetric-client/src/main/java/org/jumpmind/symmetric/job/JavaJob.java Diff File

SymmetricDS: 3.14 6ba8bfe0

2024-09-10 17:34:05

evan-miller-jumpmind

Details Diff
0006581: Fixed Java job validation behaving incorrectly Affected Issues
0006581
mod - symmetric-client/src/main/java/org/jumpmind/symmetric/job/JavaJob.java Diff File

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 generated from: 0006580
2024-09-10 13:23 emiller Relationship added related to 0006580
2024-09-10 15:42 emiller Status assigned => resolved
2024-09-10 15:42 emiller Resolution open => fixed
2024-09-10 15:42 emiller Fixed in Version => 3.15.9
2024-09-10 16:00 Changeset attached => SymmetricDS 3.15 54ca1ed2
2024-09-10 18:00 Changeset attached => SymmetricDS 3.14 6ba8bfe0