Xibo 2.0.0 Anomaly in DataSets data view

This is a cosmetic issue/bug only.

To replicate

  • Modify a DataSet config on its ‘Advanced’ tab and change ‘Truncate DataSet’ from ‘Never’ to ‘Always’.

  • Select ‘View Data’ and page through the current data set.

  • Wait for the data set to be refreshed and truncated by the cron task (in my case, the task is run every 5 minutes and on the next run, the data set was truncated from 850 entries to 50)

  • A manual browser page refresh leaves you on a blank page (beyond the end of the now-truncated data set), with an odd readout - in my case ‘Showing 161 to 50 of 50 entries’.

Expected behavior:

A sanity check realises the view is beyond the end of the data set and resets it to start at entry #1 (if any).