-
-
Notifications
You must be signed in to change notification settings - Fork 91
Dashboard failing to enroll new network devices. #1877
Copy link
Copy link
Closed
Description
Describe the bug
From https://mydash.defguard.mydomain.com/admin/devices
Click on Add New
The option of the two types of enrollment pops up.
If I click Next the page crashes.
Uncaught TypeError: Cannot read properties of undefined (reading 'value')
at App-TWIWUZXT.js:28:21093
at Object.useMemo (index-D9mJxHLS.js:9:60803)
at QO.je.useMemo (index-D9mJxHLS.js:2:40779)
at cY (App-TWIWUZXT.js:28:20977)
at ih (index-D9mJxHLS.js:9:48240)
at Th (index-D9mJxHLS.js:9:71054)
at J0 (index-D9mJxHLS.js:9:81414)
at zS (index-D9mJxHLS.js:9:117215)
at xM (index-D9mJxHLS.js:9:116259)
at Gh (index-D9mJxHLS.js:9:116089)Understand this error
In this code:
, [y,_] = xn(E => [E.initLocationIpResponse, E.networkOptions], de)
, x = g.useMemo( () => {
if (y && _)
return {
modifiableIpParts: y.map(T => T.modifiable_part),
generationChoice: bs.AUTO,
location_id: _[0].value,
name: "",
wireguard_pubkey: "",
description: ""
}
}
, [y, _])
Both options produce this outcome.
Expected behavior
Continue the enrollment process
Version information
- Defguard Core version: v1.6.1
- Operating system and version running the gateway: Macos 26.2 on Chrome 143.0.7499.193 (Official Build) (arm64) (but also tested in Safari)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Ready to release