Unable to unassign all files from a display group
Bug #1351884 reported by
Dan Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Fix Released
|
Undecided
|
Dan Garner |
Bug Description
Upgraded to Xibo-Server-1.6.2.
I am unable to remove all Assigned Files on a Display Group. I can remove all but one file. If I remove all files and try to remove the last file and click "Assign", I get "No integer found for Array, and return value is not an integer". The only way around the problem is to create a new Display Group.
Am I missing something here? It seems like a bug to me.
Related branches
lp:~dangarner/xibo/server-163
- Xibo Maintainters: Pending requested
-
Diff: 608 lines (+196/-85)21 files modifiedserver/lib/app/kit.class.php (+1/-1)
server/lib/data/dataset.data.class.php (+1/-2)
server/lib/data/datasetdata.data.class.php (+1/-1)
server/lib/data/displaygroup.data.class.php (+9/-5)
server/lib/data/region.data.class.php (+8/-4)
server/lib/data/userdata.data.class.php (+28/-0)
server/lib/data/usergroup.data.class.php (+1/-1)
server/lib/modules/module.class.php (+8/-5)
server/lib/pages/admin.class.php (+7/-7)
server/lib/pages/content.class.php (+1/-1)
server/lib/pages/display.class.php (+7/-5)
server/lib/pages/displaygroup.class.php (+1/-1)
server/lib/pages/schedule.class.php (+17/-12)
server/lib/pages/statusdashboard.class.php (+1/-1)
server/lib/pages/timeline.class.php (+6/-0)
server/lib/pages/user.class.php (+5/-17)
server/lib/service/xmdssoap.class.php (+3/-2)
server/locale/dbtranslate.php (+43/-0)
server/manual/content/admin/api_layouts.php (+39/-16)
server/modules/preview/xibo-webpage-render.js (+6/-1)
server/theme/default/html/status_dashboard.php (+3/-3)
Changed in xibo: | |
milestone: | none → 1.6.3 |
assignee: | nobody → Dan Garner (dangarner) |
tags: | added: cms |
Changed in xibo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Workaround:
Edit lib/pages/ displaygroup. class.php and change line 778 to:
$mediaList = Kit::GetParam( 'MediaID' , _POST, _ARRAY_INT, NULL, false);
Edit lib/data/ displaygroup. data.class. php and remove the below lines from line:417
// Check that some media assignments have been made
$this- >ThrowError( 25006, __('No media to assign'));
if (count($mediaList) == 0)