Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

Forums OroCommerce A managed+dirty entity [] can not be scheduled for insertion.

This topic contains 1 reply, has 2 voices, and was last updated by  Dmitriy Pasechnik 5 months, 2 weeks ago.

  • Creator
    Topic
  • #15570

    zhex900
    Participant

    Hi,

    I think this is more of a doctrine question. I made a migration script to load products with images and prices. The source code is here.

    https://github.com/zhex900/ot-theme/blob/master/MENA/Bundle/MENALoadDataBundle/Migrations/Data/ORM/LoadProductData.php

    This script works fine most of the time. But it gives an error when there is a large load over 150 products or even 5 products with multiple images.

    This is the error:
    [Doctrine\ORM\ORMInvalidArgumentException]
    A managed+dirty entity [] can not be scheduled for insertion.

    This is thrown when I try to persist product. See here.

    Any ideas why?

    Anything to do with this post?

    Thank you

    Jake He

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
ssossossosso