2

After testing Rest Async-Calls with RabbitMQ-Server, all worked fine.

In the Magento-Database the table "magento_bulk" and "magento_operation" is full with data from the Rest Async-Calls.

But in the Magento 2.3.3 Backend "System - Action Logs - Bulk Actions" nothing is shown there?

Is it possible to show the data from database there?

1

1 Answer 1

0

The answer only shows a possible solution to the problem.

Changes must be made in a separate module.

Changes made to the Magento core files will be lost after the Magento upgrade.

In order to display all entries in the Bulk Actions Log, you need to remove the selection by user_id in vendor/magento/module-asynchronous-operations/Ui/Component/DataProvider/SearchResult.php:

protected function _initSelect()
{
    $this->getSelect()->from(
        ['main_table' => $this->getMainTable()],
        [
            '*',
            'status' => $this->calculatedStatusSql->get($this->getTable('magento_operation'))
        ]
    )/*->where(
        'user_id=?',
        $this->userContext->getUserId()
    )*/;
    return $this;
}

Link to a similar issue on github.

1
  • Just saw that Magento checks internally the "user_id" (Magento Backend) with the "integration user id" (Rest-Api-Key User).
    – maettuw
    Commented Feb 12, 2020 at 12:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.