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

use getPrimaryOwnerId in entry afterSave #14387

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Feb 14, 2024

Description

Entry::afterSave() should use getPrimaryOwnerId() when determining whether ownership should be saved. This fixes an issue that occurred when you opened a nested entry in a new tab and then created a new one via “Save as a new entry”. (“Save and add another” worked fine and still does.)

Related issues

#14378

@i-just i-just requested a review from brandonkelly February 14, 2024 15:46
@brandonkelly brandonkelly merged commit 988bf47 into 5.0 Feb 15, 2024
@brandonkelly brandonkelly deleted the bugfix/14378-save-as-new-for-nested-entries branch February 15, 2024 20:08
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