RequiredFiles ommits files for default layout
Bug #552853 reported by
Alex Harrington
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Medium
|
Dan Garner | ||
1.0 |
Fix Released
|
Medium
|
Alex Harrington | ||
1.1 |
Fix Released
|
Medium
|
Dan Garner |
Bug Description
RequiredFiles omits the files required for the default layout when there is a schedule item that falls inside the "plus4hours" lookahead.
Perhaps RequiredFiles should always return the files for the default layout? (It would certainly help me on the Python Client if it did).
Alex
Related branches
lp:~dangarner/xibo/111-server-p2
(Merged)
lp:~alexharrington/xibo/552853-1.0
(Merged)
Changed in xibo: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 1.1.1 |
Changed in xibo: | |
status: | Confirmed → Triaged |
Changed in xibo: | |
assignee: | nobody → Dan Garner (dangarner) |
status: | Triaged → Fix Committed |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Commenting out lines 248, 249, 252 - 256 in xmds.php fixes this for me.
248 //if ($displayInfo[ 'inc_schedule' ] == 1) detail. starttime < '%s' AND schedule_ detail. endtime > '%s' )", $plus4hours, $currentdate); detail. starttime = '2050-12-31 00:00:00' AND schedule_ detail. endtime = '2050-12-31 00:00:00' ))"; detail. starttime < '%s' AND schedule_ detail. endtime > '%s' )", $plus4hours, $currentdate);
249 //{
250 $SQL .= sprintf(" AND ((schedule_
251 $SQL .= " OR (schedule_
252 //}
253 //else
254 //{
255 // $SQL .= sprintf(" AND (schedule_
256 //}