ssossossosso

Forums

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

This topic contains 4 replies, has 2 voices, and was last updated by msulima msulima 4 months ago.

  • Creator
    Topic
  • #35424

    Geoffroy Cochard
    Participant

    Hie,

    I’ve got some DBAL custom type (translate to integer), but i would like to change insertion when field is audited.

    Have to override “ChangeSetToAuditFieldsConverter” and change formatting of my custom type ?
    Have to use AuditEntityMapper ? register my custom AuditEntityClass ?

    Geoffroy

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #35426

    Geoffroy Cochard
    Participant

    We can’t use a custom AuditEntityClass cause Oro\Bundle\DataAuditBundle\Entity\AbsctractAudit::addField wait for an Oro\Bundle\DataAuditBundle\Entity\AuditField as argument….

    #35504

    Geoffroy Cochard
    Participant

    Try to use my own EntityChangesToAuditEntryConverter. but Oro\Bundle\DataAuditBundle\Service\EntityChangesToAuditEntryConverter::__construct() wait for an Oro\Bundle\DataAuditBundle\Service\ChangeSetToAuditFieldsConverter.

    #35505

    Geoffroy Cochard
    Participant

    Perhaps a new event dispatcher in AuditConverter

    #35537
    msulima
    msulima
    Oro Core

    Hi, Geoffroy Cochard.

    Is that topic still actual?

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.