Skip to content

Conversation

@arthanson
Copy link
Contributor

@arthanson arthanson commented Oct 28, 2025

Fixes: #342

Adds a warning if you try to modify an object that has been deleted in main. It is possible to make a fix to create the changelog without referring to main, however this will still result in an un-mergeable branch because of the way the merge plays back the changelogs in order, so a user message and preventing the save was decided as the better course of operation.

For delete - the post_save signal can come in before the pre_delete so put the check in both places.

Monosnap Image 2025-10-28 15-07-32

@arthanson arthanson changed the title DRAFT: #342 Error on form if update and object that has been deleted in main #342 Error on form if update and object that has been deleted in main Oct 29, 2025
@arthanson arthanson marked this pull request as ready for review October 29, 2025 17:10
@arthanson arthanson requested a review from a team October 29, 2025 17:11
@jnovinger jnovinger requested review from jnovinger and removed request for a team November 3, 2025 19:53
@jnovinger jnovinger changed the title #342 Error on form if update and object that has been deleted in main Fixes #342: Error on update form if object has been deleted in main Nov 3, 2025
@arthanson arthanson requested a review from jnovinger November 4, 2025 21:25
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.

Display warning if object has been deleted in main branch

3 participants