Fixes #3435 - Broken counter check for attributes examples causes exchange integration wizard to check all entries instead of 50.
This commit is contained in:
parent
b1780388fb
commit
06be90f038
2 changed files with 4 additions and 2 deletions
|
@ -56,7 +56,9 @@ module Import
|
|||
parent = parent.id if parent.respond_to?(:id) # type coercion
|
||||
@connection.folders(root: parent)
|
||||
rescue Viewpoint::EWS::EwsFolderNotFound => e
|
||||
logger.warn(e) && return
|
||||
logger.warn("Try to get children folders of: #{parent.inspect}")
|
||||
logger.warn(e)
|
||||
nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -48,7 +48,7 @@ module Import
|
|||
@no_new_counter += 1
|
||||
|
||||
# check max 50 entries with no or no new attributes in a row
|
||||
@enough_examples = @no_new_counter != 50
|
||||
@enough = @no_new_counter != 50
|
||||
|
||||
false
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue