lib/jss/api_object/scopable.rb
def update
      super
    rescue JSS::ConflictError => conflict
      if scope.unable_to_verify_ldap_entries == true
        raise JSS::InvalidDataError, "Potentially non-existant LDAP user or group in new scope values."
      else
        raise conflict
      end
    end
# A wrapper around the update method, to try catching 409 conflict errors
# when we couldn't verify all ldap users/groups due to lack of ldap connections
#
A wrapper around the update method, to try catching 409 conflict errors
when we couldn't verify all ldap users/groups due to lack of ldap connections
A wrapper around the update method to try catching 409 conflict errors when we couldn ' t verify all ldap users / groups due to lack of ldap connections
def update
      super
    rescue JSS::ConflictError => conflict
      if scope.unable_to_verify_ldap_entries == true
        raise JSS::InvalidDataError, "Potentially non-existant LDAP user or group in new scope values."
      else
        raise conflict
      end
    end
def update super rescue JSS :: ConflictError => conflict if scope . unable_to_verify_ldap_entries == true raise JSS :: InvalidDataError , "Potentially non-existant LDAP user or group in new scope values." else raise conflict end end
A wrapper around the update method, to try catching 409 conflict errors
when we couldn't verify all ldap users/groups due to lack of ldap connections
A wrapper around the update method to try catching 409 conflict errors when we couldn ' t verify all ldap users / groups due to lack of ldap connections