Skip to content

fix backlink on empty relation - #175

Merged
mringler merged 1 commit into
perplorm:mainfrom
mringler:fix_backlink_relation
Oct 29, 2026
Merged

mringler merged 1 commit into
perplorm:mainfrom
mringler:fix_backlink_relation

Conversation

@mringler

Copy link
Copy Markdown
Collaborator

Issue

Since #160, many-to-one relations are populated during ObjectCollection::populateRelation(), but it fails when the one-side is empty.

Changes

Added null check.

Test strategy

@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mringler
mringler merged commit 976fb42 into perplorm:main Oct 29, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant