Closed ftiff closed 6 years ago
Good day François, Thanks for the note. I’ll have to give things a closer look. I have the following that is, and I thought has, removed computers from smart groups.
if endpoint == "smartcomputergroups" {
let regexComp = try! NSRegularExpression(pattern: "<computers>(.*?)</computers>", options:.caseInsensitive)
PostXML = regexComp.stringByReplacingMatches(in: PostXML, options: [], range: NSRange(0..<PostXML.utf16.count), withTemplate: "")
}
Cheers, leslie
On Sep 24, 2017, at 3:40 AM, Francois Levaux-Tiffreau notifications@github.com<mailto:notifications@github.com> wrote:
Hi Leslie,
Tested on 10.0.0-b.3.t1505777008 with jamf-migrator Version 2.1.0 (1)
I get the following conflict when migrating Smart Computer Groups:
**** CRITICAL NO TextMate - Failed <?xml version="1.0" encoding="UTF-8"?>
HTTP status code: 409
Error message is:
Conflict
Error: Unable to match computer
You can get technical details here.
Please continue your visit at our home page.
This is solved by removing
<?xml version="1.0" encoding="UTF-8"?>
Is this something you're willing to work on?
Thanks, François
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jamfprofessionalservices/JamfMigrator/issues/9, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVOIF9FHl82IQzcaTMpYEeb4Fya82Wj0ks5slgd3gaJpZM4Phzrp.
Modified how smart computer groups are identified so that computers are removed regardless if one is doing a bulk or selective migration.
Well done! It works great. small advice: You can add something like "Fixes #9" in the commit title to link it to this issue. It will appear in line with the comments :) Thank you!
Hi Leslie,
Tested on 10.0.0-b.3.t1505777008 with jamf-migrator Version 2.1.0 (1)
I get the following conflict when migrating Smart Computer Groups:
Error message is:
This is solved by removing
<computers>…</computers>
which is not needed in Smart Computer Groups anyway:Is this something you're willing to work on?
Thanks, François