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

[Bug] Add null check to cleanup #356

Closed
wants to merge 1 commit into from

Conversation

t-zilla
Copy link
Contributor

@t-zilla t-zilla commented Sep 12, 2023

$this->queueService->addItemToQueue requires argument #4 to be string, however $this->resolver->loadFullIdentifierList(); doesn't guarantee that the returned array contains only strings. If there are some (unpublished) objects that don't have the identifier attribute filled in, the returned array may contain nulls and cause a fatal error.

@github-actions
Copy link

github-actions bot commented Sep 12, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@t-zilla
Copy link
Contributor Author

t-zilla commented Sep 12, 2023

I have read the CLA Document and I hereby sign the CLA

@blankse
Copy link
Contributor

blankse commented Sep 12, 2023

@t-zilla Bugfixes should be go to branch 1.8

@dvesh3 dvesh3 changed the base branch from 1.x to 1.8 September 14, 2023 12:56
@dvesh3 dvesh3 changed the base branch from 1.8 to 1.x September 14, 2023 12:56
@dvesh3 dvesh3 added the Bug label Sep 14, 2023
@dvesh3 dvesh3 added this to the 1.8.4 milestone Sep 14, 2023
@dvesh3 dvesh3 self-assigned this Sep 28, 2023
dvesh3 pushed a commit that referenced this pull request Sep 28, 2023
@dvesh3
Copy link
Contributor

dvesh3 commented Sep 28, 2023

pushed directly to 1.8 branch ec90dd4. thanks!

@dvesh3 dvesh3 closed this Sep 28, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants