Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-12093

bug in tutorial "batch-processing" with column "End Time"

XMLWordPrintable

    • Hide
      1. deploy batch-processing
      2. open page http://localhost:8080/batch-processing/batch.jsf
      3. press button "Generate a new file and start import job"
      4. press button "Update jobs list"

      ERROR
      Column "End Time" updates every time you press "Update jobs list"

      Show
      deploy batch-processing open page http://localhost:8080/batch-processing/batch.jsf press button "Generate a new file and start import job" press button "Update jobs list" ERROR Column "End Time" updates every time you press "Update jobs list"
    • Interactive Demo/Tutorial

      in file
      org/jboss/as/quickstarts/batch/controller/JobData.java

          public Date getEndTime() {
              endTime = new Date();
              return endTime.getTime() == 0 ? null : endTime;
          }
      

      its returns current time every time, not the job endTime

              parsharm Parul Sharma
              svkreml Sv Kr (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: