ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

  • Creator
    Topic
  • #33164
    Denis
    Denis
    Participant

    Hi, I look at some aliases of EntityConfigBundle were excluded
    like
    Oro\Bundle\EntityConfigBundle\Audit\Entity\ConfigLog
    Oro\Bundle\EntityConfigBundle\Audit\Entity\ConfigLogDiff
    Oro\Bundle\EntityConfigBundle\Entity\ConfigModelIndexValue
    Oro\Bundle\EntityConfigBundle\Entity\EntityConfigModel
    Oro\Bundle\EntityConfigBundle\Entity\FieldConfigModel

    How can I get the entity, change/remove and save it?
    I mean I want to change data of EntityConfigModel entity and flush it, but I can do it because have an error – unknown alias of an entity.

    Thanks.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #33313
    msulima
    msulima
    Oro Core

    Hi,
    all of entities from that list use separated entity manager.
    Try something like

    and use $entityManager to flush your entity.
    Also, please check services from related bundle. Maybe you can find services with needed functionality.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.