Skip to content

Sometimes bill_address_id is nil #13293

@mbajur

Description

@mbajur

I was not able to nail down when and why is that happening but, for some orders on my shop, the bill_address_id is nil. It leads to a various kind of issues - like not being able to search orders by last name or end user not being able to access his order summary page. Around 3% of all my orders are impacted by that - not much but still enough to be noticeable by store admin who is not able to search orders properly :)

Context

Not much to add as a context - i think it started happening on spree 5

Expected Behavior

bill_address_id should never be nil

Actual Behavior

bill_address_id is sometimes nil

Your Environment

  • Version used: Spree 5.1.8

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