Skip to content

Error on compile...Easy fix #10

@MikeWilkie

Description

@MikeWilkie

Not sure what's going on, but every time there's a new update to any riskified magento module there are several blatant issues that prevent magento from even compiling static content. How does that even make it into a commit?

Anyway, this was discovered less than 30 seconds after installing...I'm sure there will be more.

In etc/di.xml:

    <type name="Magento\Framework\Console\CommandList">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="riskfied_send_historical_orders" xsi:type="object">Riskified\Decider\Model\Command\UploadHistoricalOrders</item>
            </argument>
        </arguments>
    </type>

But it should be....

    <type name="Magento\Framework\Console\CommandListInterface">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="riskfied_send_historical_orders" xsi:type="object">Riskified\Decider\Model\Command\UploadHistoricalOrders</item>
            </argument>
        </arguments>
    </type>

Currently results in an error:

In ClassReader.php line 26:
Class Riskified\Decider\Command\UploadHistoricalOrders does not exist

Metadata

Metadata

Assignees

No one assigned

    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