Skip to content

Fbe::Conclude#fill crashes with NoMethodError when follow property is missing on fact #580

Description

@sdghsdkjlas27-dotcom

conclude.rb line 249 calls prev[follow.to_s].each. In Factbase, if a property doesn't exist on a fact, fact[property] returns nil. Calling .each on nil raises NoMethodError. If a query matches facts where some lack the follow properties, the entire conclude operation crashes mid-transaction.

REPRODUCTION: Use follow('nonexistent_property') with a query that matches facts lacking that property.

IMPACT: RuntimeError/NoMethodError during conclude; partial processing (some facts processed, some not); factbase may be left in inconsistent state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions