Skip to content

Revert "[5.0] Unpublish article when saving as copy"#41790

Merged
HLeithner merged 1 commit into5.0-devfrom
revert-38810-4.3-articlecopy-state
Sep 18, 2023
Merged

Revert "[5.0] Unpublish article when saving as copy"#41790
HLeithner merged 1 commit into5.0-devfrom
revert-38810-4.3-articlecopy-state

Conversation

@HLeithner
Copy link
Copy Markdown
Member

Reverts #38810

I'm reverting this because I only read the last suggestion by @crystalenka and missed the part that this break workflow.

@HLeithner HLeithner merged commit ba369d6 into 5.0-dev Sep 18, 2023
@HLeithner HLeithner deleted the revert-38810-4.3-articlecopy-state branch September 18, 2023 13:03
weeblr added a commit to weeblr/joomla-cms that referenced this pull request Feb 25, 2025
Second attempt at fixing joomla#37351.

Previous PR (joomla#38810) was reverted (in joomla#41790) because it would not work if Workflow was enabled.

This super simple PR checks if workflows are enabled and if so set a transition value of 1. If workflows not enabled, it sets state to 0, as in joomla#38810.
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