Skip to content

CreateListFromArrayLike called on non-object #250

@manuxio

Description

@manuxio

In file: activedirectory.js line ~578
Array.prototype.push.apply(result[rangeAttribute.attributeName], result[rangeAttribute.toString()]); fails when result[rangeAttribute.toString()] is not an array
This happens when there are more results then a single batch (> 1500)

This temporarely fixed the issue:

if (!Array.isArray(result[rangeAttribute.toString()])) {
      result[rangeAttribute.toString()] = [result[rangeAttribute.toString()]];
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions