Skip to content

Fix bug causing crash saving Relation resource#399

Merged
gregorjerse merged 2 commits intogenialis:masterfrom
gregorjerse:fix/relation_save
Nov 20, 2025
Merged

Fix bug causing crash saving Relation resource#399
gregorjerse merged 2 commits intogenialis:masterfrom
gregorjerse:fix/relation_save

Conversation

@gregorjerse
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a crash that occurred when saving Relation resources. The fix implements a changed() method for LazyResourceField that always returns False, reflecting that lazy resource fields are read-only and cannot be modified.

Key changes:

  • Added changed() method to LazyResourceField class
  • Updated changelog to document the bug fix

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/resdk/resources/fields.py Implements changed() method for LazyResourceField to prevent crash when checking field modifications
docs/CHANGELOG.rst Documents the bug fix for Relation resource saving crash

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gregorjerse gregorjerse merged commit 86989a0 into genialis:master Nov 20, 2025
10 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.

2 participants