Skip to content

Adjust parameters for guzzle7 #40652

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

Merged
merged 2 commits into from
Feb 23, 2023
Merged

Adjust parameters for guzzle7 #40652

merged 2 commits into from
Feb 23, 2023

Conversation

jvillafanez
Copy link
Member

Description

Fixes some bugs caused by the guzzle upgrade

  • I'm not sure about the federated sharing notifications. Request should reach the server, but I had problems with the share. I don't know if there is a bug lurking around, or it was caused by any of my changes in order to trigger the behavior. Anyway, it seems out of scope.
    I assume this was left because the default behavior is to use OCM, not the old mechanism. With OCM, the parameters use "json", so there is no problem.
  • The federation background job seems awkward and likely untested. That's a bug that is now fixed
  • For the HTTPHelper, I think it's deprecated and it's only used in the old sharing 1.0. I don't think we use sharing 1.0 anywhere. It seems dead code, but anyway, the issue with guzzle should be fixed, although not tested.

So it seems the only real bug, at least in core, is with the background job of the federation app. The other 2 shouldn't trigger.

Related Issue

#40649

Motivation and Context

Issue with the background job needs to be fixed. There is also comments that needs to be updated.

How Has This Been Tested?

Manually tested except the one for the HTTPHelper, which is a blind change.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@update-docs
Copy link

update-docs bot commented Feb 22, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@jvillafanez
Copy link
Member Author

I don't think we need a changelog item for this.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 8 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@jnweiger jnweiger left a comment

Choose a reason for hiding this comment

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

Looks good to me. Although I am half blind.

@jnweiger jnweiger merged commit db623e1 into master Feb 23, 2023
@delete-merged-branch delete-merged-branch bot deleted the fixes_for_guzzle7 branch February 23, 2023 15:53
Copy link
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

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

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants