Skip to content

add current blog constraint for cloning (WP-953) #577

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vsolovei-smartling
Copy link
Contributor

No description provided.

Comment on lines +65 to +67
= 4.3.1 =
* Changed cloning to only work with submissions from the blog that initiates the cron job

Copy link
Contributor

Choose a reason for hiding this comment

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

I remember you mentioned that this is some specific to some client setup. But will this still work for any other clients who do not run cron from the specific blog?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This defaults to blog 1 by default, which most clients use as the source

/**
* Looks for submissions with status = 'New' AND batch_uid <> '' AND is_locked = 0
*/
public function findSubmissionForUploadJob(): ?SubmissionEntity
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Obsolete, unused

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