OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM Issue by merging / fusion accounts

This topic contains 2 replies, has 1 voice, and was last updated by  diglin 5 years, 6 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #37497

    diglin
    Participant

    Hi,

    From the account grid, it’s possible to merge or fusion multiple account. However when we do that, we face a form to merge the different account attributes, as soon as the form is submitted, the user is logged out and a message say that we have been logged off and we must reconnect.

    Do you have similar experienced ? Is it a know bug ?

    We use OroCRM 2.6.11

    In log I got the following error message:

    [2018-10-10 10:18:19] request.CRITICAL: Uncaught PHP Exception Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException: “Neither the property “default_AccountAddress” nor one of the methods “getDefaultAccountAddress()”, “defaultAccountAddress()”, “isDefaultAccountAddress()”, “hasDefaultAccountAddress()”, “__get()” exist and have public access in class “Oro\Bundle\AccountBundle\Entity\Account”.” at /home/hospital/production/html/orocrm/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php line 472 {“exception”:”[object] (Symfony\\Component\\PropertyAccess\\Exception\\NoSuchPropertyException(code: 0): Neither the property \”default_AccountAddress\” nor one of the methods \”getDefaultAccountAddress()\”, \”defaultAccountAddress()\”, \”isDefaultAccountAddress()\”, \”hasDefaultAccountAddress()\”, \”__get()\” exist and have public access in class \”Oro\\Bundle\\AccountBundle\\Entity\\Account\”. at /home/hospital/production/html/orocrm/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:472)”} []
    [2018-10-10 10:18:19] request.CRITICAL: Exception thrown when handling an exception (Oro\Bundle\SecurityBundle\Exception\OrganizationAccessDeniedException: at /home/hospital/production/html/orocrm/app/cache/prod/classes.php line 7769) {“exception”:”[object] (Oro\\Bundle\\SecurityBundle\\Exception\\OrganizationAccessDeniedException(code: 0): at /home/hospital/production/html/orocrm/app/cache/prod/classes.php:7769)”} []

    Thank you in advance for your feedback

    Regards
    Sylvain

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #37498

    diglin
    Participant

    hmm, I see why I have the issue. I have created a old AccountAddress entity fields but should be disabled. I can’t delete it or should I do it directly from the database ?

    #37499

    diglin
    Participant

    I solved it by using this gist and adapt it: https://gist.github.com/anyt/53619b281e716db440416eb38f322f02
    It’s necessary to remove the field of an entity via a migration script. There are metadata and foreign keys in the database which needs to be removed programmatically.

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

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top