[jboss-jira] [JBoss JIRA] (WFLY-12093) bug in tutorial "batch-processing" with column "End Time"
Cheng Fang (Jira)
issues at jboss.org
Mon Feb 3 07:40:22 EST 2020
[ https://issues.redhat.com/browse/WFLY-12093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961921#comment-13961921 ]
Cheng Fang commented on WFLY-12093:
-----------------------------------
end time should not change after a job execution is done. {{org.jboss.as.quickstarts.batch.controller.JobData#getEndTime}} should just return the value retrieved from batch job repository to reflect job execution history.
> bug in tutorial "batch-processing" with column "End Time"
> ---------------------------------------------------------
>
> Key: WFLY-12093
> URL: https://issues.redhat.com/browse/WFLY-12093
> Project: WildFly
> Issue Type: Bug
> Components: Quickstarts
> Environment: batch-processing
> Reporter: Святослав Кремлёв
> Assignee: Parul Sharma
> Priority: Major
> Attachments: 2019-05-18 23_16_51-Batch Processing.png
>
>
> in file
> org/jboss/as/quickstarts/batch/controller/JobData.java
> {code}
> public Date getEndTime() {
> endTime = new Date();
> return endTime.getTime() == 0 ? null : endTime;
> }
> {code}
> its returns current time every time, not the job endTime
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list