Skip to content

AutoPurge Causes Rest Request To Fail #22

@null93

Description

@null93

As [REDACTED] from [REDACTED] has experienced, his 3rd party integration triggers a product save event that Magento publishes. Since this module subscribes to product save before, it runs after the aforementioned event. That being said, since the 3rd party integration is authorized via token for Magento's REST api, then it does not have a user agent nor does it have a user object attached to the session manager. The exact failure is in the Helper/Data class where information about the caller is extracted and put into logs. Calling methods on a null user object causes the failed request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions