[jboss-jira] [JBoss JIRA] (WFLY-11264) The BatchJobExecutionResource.hasChild() needs to be reviewed for purged jobs

James Perkins (Jira) issues at jboss.org
Wed Oct 31 11:45:00 EDT 2018


James Perkins created WFLY-11264:
------------------------------------

             Summary: The BatchJobExecutionResource.hasChild() needs to be reviewed for purged jobs
                 Key: WFLY-11264
                 URL: https://issues.jboss.org/browse/WFLY-11264
             Project: WildFly
          Issue Type: Bug
          Components: Batch
            Reporter: James Perkins
            Assignee: Cheng Fang


The {{BatchJobExecutionResource.hasChild()}} invokes the {{hasJobExecution()}} method which does not by default refresh the children. This could mean that a purged job returns {{true}} when it should be {{false}}. This was originally done for performance reasons however there is a bug (WFLY-11261) which causes issues when a job is purged.

In general this resource should be reviewed and performance tested to ensure purged jobs no longer show up.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list