Skip to content

Comment added to order alters timestamp for all comments  #3614

@mihaizs

Description

@mihaizs

We are testing Magento2 EE and I've noticed the following beahaviour:
Adding a comment to and order sets the timestamp of all comments to the timestamp of the comment being added.
This happens both programatically
\Magento\Sales\Model\Order $order->addStatusHistoryComment('some text');
and in the backend.
This should be fairly easy to replicate: just create an order and add a few comments to it. You'll notice that all comments get the timestamp of the last.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions