Systems->Jobs table not working correctly

Steps to reproduce

Steps to reproduce:
1. Upload some events so that are processing jobs
2. Go to Systems->Jobs

Actual Results:
The number of rows shown are not matching the data the table shows. If that number is larger than the current page size, pagination does not work.

Expected Results:
Should consistently view the jobs

Workaround (if any):

Update May 19, 2016:

Found an interesting example of the error:

https://switch-ch.producer.cast.switch.ch/admin-ng/job/jobs.json returned:

{"total":88,"limit":0,"count":13,"results":[{"processingHost":"http:\/\/producer.cast.switch.ch","id":85489,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-01-11T17:53:50Z","started":"2016-05-06T13:06:45Z","type":"org.opencastproject.workflow","creator":"637684@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":97057,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-01-15T13:18:15Z","started":"2016-05-06T13:06:40Z","type":"org.opencastproject.workflow","creator":"637684@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":97074,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-01-15T13:20:44Z","started":"2016-05-06T13:06:40Z","type":"org.opencastproject.workflow","creator":"637684@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":290484,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-02-02T12:07:17Z","started":"2016-05-06T13:06:40Z","type":"org.opencastproject.workflow","creator":"667338@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1076203,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-06T10:17:03Z","started":"2016-05-06T13:06:48Z","type":"org.opencastproject.workflow","creator":"205578@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1142894,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T13:49:22Z","started":"2016-05-19T13:49:25Z","type":"org.opencastproject.workflow","creator":"matterhorn_system_account"},{"processingHost":"http:\/\/worker03.cast.switch.ch","id":1142922,"operation":"Encode","status":"RUNNING","submitted":"2016-05-19T13:49:27Z","started":"2016-05-19T13:49:27Z","type":"org.opencastproject.composer","creator":"matterhorn_system_account"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145202,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:36Z","started":"2016-05-19T14:04:40Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145203,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:36Z","started":"2016-05-19T14:04:41Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145204,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:37Z","started":"2016-05-19T14:04:41Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145206,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:37Z","started":"2016-05-19T14:04:41Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145207,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:37Z","started":"2016-05-19T14:04:41Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"},{"processingHost":"http:\/\/producer.cast.switch.ch","id":1145209,"operation":"START_OPERATION","status":"RUNNING","submitted":"2016-05-19T14:04:37Z","started":"2016-05-19T14:04:41Z","type":"org.opencastproject.workflow","creator":"917762@switch.ch"}],"offset":0}

Activity

Show:
Sven Stauber
May 13, 2016, 11:58 AM

Hi Waldemar, as far as I can tell, this issue is caused by retrieving invalid data, i.e. the visual representation seems fine. It is also not caused by your recent pull request that fixed sorting: It was definitely broken before.

Note sure whether it is the Admin UI facade or the service that delivers wrong data.

Sven Stauber
May 13, 2016, 12:01 PM

Maybe have a look at the related issue that suggests some serious problems in the integration of information retrieval from services using matterhorn-search and matterhorn-index

Sven Stauber
June 3, 2016, 6:50 PM

Hi Waldemar, I haven't seen this anymore since your newest pull request and therefore close this issue.

Sven Stauber
June 3, 2016, 6:51 PM

This has been fixed by

Fixed and reviewed

Assignee

Sven Stauber

Reporter

Sven Stauber

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major