View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006580 | SymmetricDS Pro | Bug | public | 2024-09-10 13:23 | 2024-10-01 19:05 |
Reporter | emiller | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.14.0 | ||||
Target Version | 3.14.17 | Fixed in Version | 3.14.17 | ||
Summary | 0006580: Java job validation behaves incorrectly | ||||
Description | When 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"); } } | ||||
Tags | ui | ||||
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 |