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

Bugfix for transport resolution, if the package is not found on the current provider #14260

Merged
merged 1 commit into from Jan 22, 2019
Merged

Bugfix for transport resolution, if the package is not found on the current provider #14260

merged 1 commit into from Jan 22, 2019

Conversation

Jako
Copy link
Collaborator

@Jako Jako commented Jan 11, 2019

What does it do?

Check $resolution for emptiness instead of false.

Why is it needed?

$resolution can't be false since it is initialised as array in https://github.com/modxcms/revolution/blob/2.x/core/model/modx/transport/modtransportprovider.class.php#L164

If a dependent package is not found in the provider of the package with the dependency, it is never found because of this bug.

Related issue(s)/PR(s)

#12666

@Jako Jako added bug The issue in the code or project, which should be addressed. area-core pr/review-needed Pull request requires review and testing. labels Jan 11, 2019
@Jako Jako added this to the v2.7.1 milestone Jan 11, 2019
@JoshuaLuckers JoshuaLuckers self-assigned this Jan 22, 2019
@JoshuaLuckers JoshuaLuckers added pr/ready-for-merging Pull request reviewed and tested and ready for merging. and removed pr/review-needed Pull request requires review and testing. labels Jan 22, 2019
@JoshuaLuckers JoshuaLuckers merged commit 786e566 into modxcms:2.x Jan 22, 2019
@Jako Jako deleted the transport-resolution branch January 22, 2019 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core bug The issue in the code or project, which should be addressed. pr/ready-for-merging Pull request reviewed and tested and ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants