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

PRESIDECMS-2853 page showing has draft but no changes were detected while publish a page after quick edit the page #1500

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

pixl8-brayden
Copy link
Contributor

No description provided.

…but-no-changes-were-detected-while-publish-a-page-after-quick-edit-the-page'.
Copy link

github-actions bot commented Jun 21, 2024

Test Results

    1 files  ±0    108 suites  ±0   2m 22s ⏱️ -11s
1 720 tests ±0  1 717 ✅ ±0  3 💤 ±0  0 ❌ ±0 
1 723 runs  ±0  1 720 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit 091a3d6. ± Comparison against base commit be47593.

♻️ This comment has been updated with latest results.

, versionNumber = versionNumber
, updateManyToManyRecords = true
, forceVersionCreation = arguments.forceVersionCreation ?: ( pageDataHasChanged || pageTypeDataHasChanged )
, isDraft = ( arguments.isDraft || pageDataHasChanged || pageTypeDataHasChanged ) ? arguments.isDraft : false
, useVersioning = ( pageDataHasChanged || pageTypeDataHasChanged ) ? !arguments.skipVersioning : false
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this begs the question, why are we bothering doing anything if !( pageDataHasChanged || pageTypeDataHasChanged )?

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