Skip to content

TaskInstance '__DS_COPY_TASK_RUNNER__' was canceled because it belongs to a 'drop' Task that was already running.  #7

@songoo

Description

@songoo

Hello.

I am using ember-data-copyable (0.2.1) to copy models, its very cool! And had no problems till today :( when I tried to copy same model in multiple times.

I have Promise.all(promises), in every of that promises I copy one or more models, but those are always the same models for all promises.

For example, I have 3 models (taskAsignments) , and I want copy all 3 of them in for example 6 promises.

What I encounter is, that all 3 models are copied in firstProcessedPromise and will fail in all other (five) promises with message :

TaskCancelation: TaskInstance 'DS_COPY_TASK_RUNNER' was canceled because it belongs to a 'drop' Task that was already running. For more information, see: http://ember-concurrency.com/#/docs/task-cancelation-help

I tried to rewrite Promise.all with reduce, so all 6 promises would be called in synchronized way, but result was same sadly. I also tried deep and not deep .copy with same result.

If possible please advice if have any idea.

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