1.6.0-rc2 Unable to Delete Display

Bug #1307722 reported by Alex Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Dan Garner

Bug Description

Hi I'm running a test Server with 1.6.0.RC2 and I'm not able to delete client display.
Message : No integer match found for [] and return value is not an integer.

Related branches

Changed in xibo:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 1.6.0
Revision history for this message
Alex Harrington (alexharrington) wrote :

Date: 2014-04-15 08:38:12
Page: display
Function:
Message: SELECT display.displayid,
                    display.display,
                    display.defaultlayoutid,
                    display.license,
                    display.licensed,
                    display.inc_schedule,
                    display.isAuditing,
                    display.email_alert,
                    display.alert_timeout,
                    display.MediaInventoryStatus,
                    display.MediaInventoryXml,
                    display.MacAddress,
                    display.WakeOnLan,
                    display.WakeOnLanTime,
                    display.BroadCastAddress,
                    display.SecureOn,
                    display.Cidr,
                    display.ClientAddress,
                    X(display.GeoLocation) AS Latitude,
                    Y(display.GeoLocation) AS Longitude
             FROM display
            WHERE display.displayid = 4

Date: 2014-04-15 08:38:12
Page: Display
Function: Delete
Message: IN

Date: 2014-04-15 08:38:12
Page: DisplayGroup
Function: DeleteScheduleForDisplayGroup
Message: IN

Date: 2014-04-15 08:38:12
Page: DisplayGroup
Function: TidyScheduleTable
Message: IN

Date: 2014-04-15 08:38:12
Page: DisplayGroup
Function: DeleteScheduleForDisplayGroup
Message: OUT

Date: 2014-04-15 08:38:12
Page: display
Function:
Message: <errormsg>Undefined variable: displayGroupId</errormsg>
<errornum>8</errornum>
<errortype>Notice</errortype>
<scriptname>/home/verdonko/public_html/xibo/cunera/lib/data/displaygroup.data.class.php</scriptname>
<scriptlinenum>230</scriptlinenum>

Date: 2014-04-15 08:38:12
Page: LkMediaDisplayGroup
Function: UnlinkAllFromDisplayGroup
Message: IN

Date: 2014-04-15 08:38:12
Page: display
Function:
Message: <errormsg>No integer match found for [] and return value is not an integer</errormsg>
<errornum>256</errornum>
<errortype>User Error</errortype>
<scriptname>/home/verdonko/public_html/xibo/cunera/lib/app/kit.class.php</scriptname>
<scriptlinenum>240</scriptlinenum>

Date: 2014-04-15 08:38:12
Page: display
Function:
Message: Creating a Response Manager to deal with the HALT Error.

Revision history for this message
Dan Garner (dangarner) wrote :

Patch: lib/data/displaygroupdata.class.php
Line: 230
Change to: if (!$link->UnlinkAllFromDisplayGroup($displayGroupID))

Changed in xibo:
status: Confirmed → Fix Committed
assignee: nobody → Dan Garner (dangarner)
Revision history for this message
frank verdonk (o-infm-m) wrote :

Hi Dan, thanks for the update.
That was already there, so nothing really changed .

Kind Regards Frank

Revision history for this message
Dan Garner (dangarner) wrote :

The case on the $displayGroupID has changed. (it was $displayGroupId)

Revision history for this message
frank verdonk (o-infm-m) wrote :

Yep,, great,,
Problem solved,,
 thanks a lot !!

Rg Frank

Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.