Skip to content

[Bug] LineItem is instantiated without a factory #416

@lruozzi9

Description

@lruozzi9

SyliusRefundPlugin version affected: 1.4.0

Description
In

the LineItem entity is created statically without a factory class

Steps to reproduce
Add an extension of the LineItem class. When you class entityManager->flush(); it will fail because it is expected to be an instance of LineItem extension.

Possible Solution
Use a factory class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugConfirmed bugs or bugfixes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions