Error Server settings - devices

simplementesea year ago

Update to the latest version everything correctly and everything works.

The error is in going to the Configuration tab - devices

TypeError: Cannot read properties of undefined (reading 'name')
    at http://miservidor:8082/static/js/main.6cd3a572.js:178:558904
    at Array.map ()
    at M$ (http://miservidor:8082/static/js/main.6cd3a572.js:178:558753)
    at Mo (http://miservidor:8082/static/js/main.6cd3a572.js:2:681543)
    at Ds (http://miservidor:8082/static/js/main.6cd3a572.js:2:693231)
    at Ml (http://miservidor:8082/static/js/main.6cd3a572.js:2:739539)
    at Sc (http://miservidor:8082/static/js/main.6cd3a572.js:2:727762)
    at yc (http://miservidor:8082/static/js/main.6cd3a572.js:2:727690)
    at vc (http://miservidor:8082/static/js/main.6cd3a572.js:2:727553)
    at oc (http://miservidor:8082/static/js/main.6cd3a572.js:2:724333)
Anton Tananaeva year ago

Do you have devices with a group that you don't have access to? That would be the reason.

simplementesea year ago

Yes, I had unassigned devices, even when I was an administrator. I'm going to assign all and test.
Likewise, the ones that I have not assigned could be seen on the map.

Also advise that the new drop-down menu to assign the devices is very slow. There are hundreds. same as groups.
They cannot be selected all at once.

On the other It shouldn't work the same as the group field, showing only the assigned ones, and not that errorhand.

Anton Tananaeva year ago

That's an issue that's already fixed on master. The workaround is to assign.

How many devices do you have and how slow is it?

simplementesea year ago

Before you would open the window and just click on all the devices one by one.

Here with the dropdown menu it is much slower if you have to assign 400 devices, since there are several steps. Select one, wait for it to be added to the window, go back down the list and select the next one.

Anton Tananaeva year ago

So it's not a slow UI. You're just talking about extra steps? That is expected compromise between making a large number of expensive API requests upfront and doing what we're doing.