-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix apiVersion type and createShare call parameters #31677
Conversation
We might not have been using the API version we thought we were using, when creating shares. So some tests that create and do stuff with shares might now misbehave. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think any sharing tests user API version 2 so it should all pass. Let's see what CI says.
Backport |
Codecov Report
@@ Coverage Diff @@
## master #31677 +/- ##
=========================================
Coverage 62.89% 62.89%
Complexity 18418 18418
=========================================
Files 1154 1154
Lines 69157 69157
Branches 1260 1260
=========================================
Hits 43499 43499
Misses 25289 25289
Partials 369 369
Continue to review full report at Codecov.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
createShare
apiVersion
to ``int``` when storing it.Related Issue
Motivation and Context
createShare()
has a missing parameter in the call - fix it.When we fix it, and/or make use of
createAPublicShare()
thenSharingHelper::createShare()
complains about "invalid apiVersion/sharingApiVersion" because it now getsapiVersion
in the correct parameter.apiVersion
is suppposed to be anint
.How Has This Been Tested?
Local API acceptance test runs.
Types of changes
Checklist: