Skip to content

Deal with deals_with_adjustments_for_deleted_source #1396

@jordan-brough

Description

@jordan-brough

@mtomov pointed out that this:
https://github.com/solidusio/solidus/blob/v1.3.1/core/app/models/concerns/spree/adjustment_source.rb#L7
leaves orders in an incorrect state because it doesn't run order.update! on the affected orders. Should we add that? Should we look for an alternative, like using foreign keys to prevent adjustment sources from be deleted if they are still referenced?

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