Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCRM OroCRM – Programming Questions EntityConfigBundle OroCRM 2.0

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

  • Creator
    Topic
  • #25380
    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
  • #25381
    msulima
    msulima
    Moderator

    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.

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

Yes No
ssossossossossosso