Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

SoftDelete Behavior broken for relationships if alias is different from className #147

@inigoflores

Description

@inigoflores

MissingModelException is thrown if SoftDeleteBehavior is attached to models using belongTo relationships declared with an alias other than a valid existing className.

Bug was introduced by #139. The problem is further described by @ravage84 in a #139 comment.

He also provides hints for the fix: ravage84/softdeletebbehavior-prob@4cf935c

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