[
https://issues.redhat.com/browse/WFLY-12093?page=com.atlassian.jira.plugi...
]
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)