Skip to content

pcc content deleted no new revision#1242

Merged
mslynch merged 2 commits intopccfrom
pcc-content-deleted-no-new-revision
Oct 24, 2025
Merged

pcc content deleted no new revision#1242
mslynch merged 2 commits intopccfrom
pcc-content-deleted-no-new-revision

Conversation

@mslynch
Copy link
Member

@mslynch mslynch commented Oct 24, 2025

Resolves #1241.

Previously, selecting the "Delete existing deployment record & deploy this content as a new item" option would create a new piece of content. Then we checked if deployment$appId was null to decide whether we had already deployed the app - but it wasn't, because we just read it from the obsoleted deployment file.

Now we're checking the actual data on the content instead.

Also fixes a failing test.

@mslynch mslynch changed the base branch from main to pcc October 24, 2025 16:23
@mslynch mslynch marked this pull request as ready for review October 24, 2025 16:31
@mslynch mslynch merged commit 3bb74d3 into pcc Oct 24, 2025
1 check passed
@mslynch mslynch deleted the pcc-content-deleted-no-new-revision branch October 24, 2025 17:01
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