update media in layouts from library is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xibo |
Expired
|
Undecided
|
Unassigned |
Bug Description
When updating media from within the library, choosing "Update this media in all layouts it is assigned to." did not work for me. I'm using the Xamp 1.82, php 5.4.22.
The error was in the legacy mysql php code in module_
1: module.class.php -> SetMediaInformation
!$result = $db->query($SQL...
returned false when in fact the row was there
2: flash.module.php -> SetRegionInform
!$row= $db->GetSingleR
returned false when in fact the row was there
3: module.class.php -> ReplaceMediaInA
$db->
took 3 minutes to complete the update so this left the Edit/Save dialog box up until query was complete. Replaced legacy code with PHP-PDO. Returned to expected behavior; dialog box goes away quickly as expected because the update query doesn't take but a moment to update the db.
Changed in xibo: | |
milestone: | 1.6.0-rc2 → none |
Left this out: I'm using Xibo server 1.6rc1.