Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Frontend] Failed to parse Device Data #251

Open
rogersacchelli opened this issue Apr 26, 2024 · 0 comments
Open

[Frontend] Failed to parse Device Data #251

rogersacchelli opened this issue Apr 26, 2024 · 0 comments

Comments

@rogersacchelli
Copy link
Contributor

New device added replies GET Device Parameters with following data:

{
    "req_obj_results": [
        {
            "req_obj_path": "Device.",
            "data_model_inst_uri": "urn:broadband-forum-org:tr-181-2-12-0",
            "supported_objs": [
                {
                    "supported_obj_path": "Device.",
                    "supported_commands": [
                        {
                            "command_name": "Reboot()"
                        },
                        {
                            "command_name": "FactoryReset()"
                        }
                    ],
                    "supported_events": [
                        {
                            "event_name": "Boot!",
                            "arg_names": [
                                "CommandKey",
                                "Cause",
                                "FirmwareUpdated",
                                "ParameterMap"
                            ]
                        }
                    ],
                    "supported_params": [
                        {
                            "param_name": "RootDataModelVersion"
                        },
                        {
                            "param_name": "InterfaceStackNumberOfEntries"
                        }
                    ]
                },
                {
                    "supported_obj_path": "Device.LocalAgent."
                },
                {
                    "supported_obj_path": "Device.Security."
                },
                {
                    "supported_obj_path": "Device.STOMP."
                },
                {
                    "supported_obj_path": "Device.MQTT."
                },
                {
                    "supported_obj_path": "Device.DeviceInfo."
                },
                {
                    "supported_obj_path": "Device.X_ASB_COM_BufferBloat."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_Analytics."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_BeaconInfo."
                },
                {
                    "supported_obj_path": "Device.XMPP."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_LED."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_Wifi."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_HomeIntelligenceServer."
                },
                {
                    "supported_obj_path": "Device.GatewayInfo."
                },
                {
                    "supported_obj_path": "Device.Time."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_LoopbackDetection."
                },
                {
                    "supported_obj_path": "Device.UserInterface."
                },
                {
                    "supported_obj_path": "Device.InterfaceStack.{i}.",
                    "access": 1,
                    "is_multi_instance": true
                },
                {
                    "supported_obj_path": "Device.X_ASB_COM_IGMPCfg."
                },
                {
                    "supported_obj_path": "Device.X_ASB_COM_IGMPCounters."
                },
                {
                    "supported_obj_path": "Device.Optical."
                },
                {
                    "supported_obj_path": "Device.Ethernet."
                },
                {
                    "supported_obj_path": "Device.USB."
                },
                {
                    "supported_obj_path": "Device.WiFi."
                },
                {
                    "supported_obj_path": "Device.Bridging."
                },
                {
                    "supported_obj_path": "Device.PPP."
                },
                {
                    "supported_obj_path": "Device.IP."
                },
                {
                    "supported_obj_path": "Device.GRE."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_CPEVPN."
                },
                {
                    "supported_obj_path": "Device.CaptivePortal."
                },
                {
                    "supported_obj_path": "Device.Routing."
                },
                {
                    "supported_obj_path": "Device.NeighborDiscovery."
                },
                {
                    "supported_obj_path": "Device.RouterAdvertisement."
                },
                {
                    "supported_obj_path": "Device.DSLite."
                },
                {
                    "supported_obj_path": "Device.QoS."
                },
                {
                    "supported_obj_path": "Device.Hosts."
                },
                {
                    "supported_obj_path": "Device.DNS."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_SpeedTest."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_Ookla."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_Iperf."
                },
                {
                    "supported_obj_path": "Device.NAT."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_TrustedRemoteServer."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_AccessControl."
                },
                {
                    "supported_obj_path": "Device.DHCPv4."
                },
                {
                    "supported_obj_path": "Device.DHCPv6."
                },
                {
                    "supported_obj_path": "Device.Firewall."
                },
                {
                    "supported_obj_path": "Device.Users."
                },
                {
                    "supported_obj_path": "Device.PeriodicStatistics."
                },
                {
                    "supported_obj_path": "Device.SoftwareModules."
                },
                {
                    "supported_obj_path": "Device.BulkData."
                },
                {
                    "supported_obj_path": "Device.DynamicDNS."
                },
                {
                    "supported_obj_path": "Device.Services."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_NWCC."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_PortalChangePassword."
                },
                {
                    "supported_obj_path": "Device.X_ALU_COM_PreConfig."
                },
                {
                    "supported_obj_path": "Device.X_ALU-COM_AutoPortBind."
                }
            ]
        }
    ]
}

Frontend returns:

Application error: a client-side exception has occurred (see the browser console for more information).

image
function Mi(n, t) {
            try {
                console.error(t.value)
            } catch (n) {
                setTimeout(function() {
                    throw n
                })
            }
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant