You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RDKBACCL-651 : Getting 500 Internal Server Error when clicked on Add Allowed device in Parental Control > Managed Devices Section
Reason for change : HostIDs count value is not assigned properly in jst file
Test procedure: In Parental control, enable the Managed devices , click on the Add Allowed device , this page should load
Risks : None
Signed-off-by: ssiras826 <[email protected]>
sed -i"s/count(\$IDs)-1/count(\$IDs)-2/g"${D}/usr/www2/actionHandler/ajax_managed_devices.jst
15
+
sed -i"s/count(\$IDs)-1/count(\$IDs)-2/g"${D}/usr/www2/actionHandler/ajax_managed_services.jst
16
+
sed -i"s/count(\$IDs)-1/count(\$IDs)-2/g"${D}/usr/www2/actionHandler/ajax_port_forwarding.jst
17
+
sed -i"/getInstanceIDs(\"Device.Hosts.Host.\")/a \$hostIDs=\$hostIDs[count(\$hostIDs)-2];"${D}/usr/www2/managed_devices_add_computer_allowed.jst
18
+
sed -i"/getInstanceIDs(\"Device.Hosts.Host.\")/a \$hostIDs=\$hostIDs[count(\$hostIDs)-2];"${D}/usr/www2/managed_devices_add_computer_blocked.jst
19
+
sed -i"s/\$clients_RSSI\[strtoupper(\$Host\[\$i.toString()\]\['PhysAddress'\])\]/\$Host\[\$i\]\['X_CISCO_COM_RSSI'\]/g"${D}/usr/www2/connected_devices_computers.jst
0 commit comments