Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 allow insert/save when doc contains a virtual link field #26365

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Mutantpenguin
Copy link
Contributor

@Mutantpenguin Mutantpenguin commented May 7, 2024

Creating a virtual link field prohibits docs from being inserted/saved.

You will get the exception

AttributeError: can't set attribute '<name of attribute>'

instead.

Setting of properties without a setter (in case of virtual fields) just doesn't work and makes no sense anyway.
Due to this, this PR skips setting these fields.

Please backport this to version-14 and version-15.

setting of properties without a setter (in case of virtual fields) just doesn't work and makes no sense anyway
@Mutantpenguin Mutantpenguin requested a review from a team as a code owner May 7, 2024 12:39
@Mutantpenguin Mutantpenguin requested review from ankush and removed request for a team May 7, 2024 12:39
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label May 7, 2024
@Mutantpenguin
Copy link
Contributor Author

@ankush Any chance to get this into the next version-14 release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-test-cases Add test case to validate fix or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant