jamf / scout-public

A tool to aggregate devices across multiple MDM servers
GNU General Public License v3.0
11 stars 3 forks source link

Device duplication when refreshing inventory #15

Closed jacobschultz closed 5 years ago

jacobschultz commented 5 years ago

We have identified two issues when refreshing devices that cause duplicate devices to appear inside of scout.

Tasks:

  1. When manually refreshing inventory in /controllers/devices.js all devices from all servers are grabbed into a list. This can cause duplications to occur as the lists are just concatenated. We should make this collection a set with a unique identified based on UDID.
  2. When updating devices in the upsert device command it is currently limited by JPS Id (scout id) and UDID. We can limit only by UDID and this should solve many device duplication issues.
jacobschultz commented 5 years ago

This has been fixed with PR1.