This topic contains 2 replies, has 2 voices, and was last updated by Kadir Yücel 8 years, 4 months ago.
- Topic
Hi,
I try to add comment to a magento order. But it fails with that message:
"Neither the property "order" nor one of the methods "addOrder()"/"removeOrder()", "setOrder()", "order()", "__set()" or "__call()" exist and have public access in class "Oro\Bundle\WorkflowBundle\Entity\WorkflowItem"."
Commenting for entity “Magento Order” is activated. Schema update creates “order_142bf5fc_id” field in “oro_comment”
my transition definition is:
...
money_receipt_definition:
post_actions:
- @find_entity:
class: OroCRM\Bundle\MagentoBundle\Entity\Order
identifier: $order_id
attribute: $.order
- @create_entity: # create a comment
class: Oro\Bundle\CommentBundle\Entity\Comment
attribute: $.comment
data:
order: $.order
message: $comment_message
How can I associate order with comment in that case?
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.