- Issue created by @larowlan
- Assigned to anchal_gupta
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:34am 19 June 2023 - last update
over 1 year ago 29,499 pass - Status changed to Needs work
over 1 year ago 1:48pm 19 June 2023 - Assigned to nitin_lama
- ๐ฎ๐ณIndia nitin_lama India
I didn't get the second part. Can you explain @smustgrave what exactly needs to be done here?
Thanks. - Issue was unassigned.
- First commit to issue fork.
- Merge request !4264Issue #3367151: Return type on \Drupal\media\MediaSourceFieldConstraintsInterface::getSourceFieldConstraints is wrong โ (Closed) created by elber
- Open on Drupal.org โEnvironment: PHP 8.2 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - Status changed to Needs review
over 1 year ago 4:52pm 14 September 2023 - last update
over 1 year ago 30,154 pass - ๐ฎ๐ณIndia roshni27
As mentioned in point #5, I have updated .
Please review. - Status changed to Needs work
over 1 year ago 7:43pm 14 September 2023 - ๐บ๐ธUnited States smustgrave
@roshnichordiya issue was moved to a MR that's on the correct branch. So work should continue there please. Hiding #11
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,164 pass 0:17 56:48 Running- last update
over 1 year ago 30,164 pass - Status changed to Needs review
over 1 year ago 1:01pm 18 September 2023 - Status changed to Needs work
over 1 year ago 3:27pm 21 September 2023 - ๐บ๐ธUnited States smustgrave
IS talks about updating issue summary. But MR is adding typehints to the functions.
Rishabh Vishwakarma โ made their first commit to this issueโs fork.
- last update
about 1 year ago Custom Commands Failed 57:06 54:47 Running- Status changed to Needs review
about 1 year ago 11:13pm 18 October 2023 - ๐ต๐ชPeru marvil07
IS talks about updating issue summary. But MR is adding typehints to the functions.
@smustgrave,
Yes, the current MR is doing changes outside the scope of the IS, namely it is introducing type hints on several places.
Considering the scope here was about to fix documentation, doing only that change is likely what is wanted here.
Even if MR seems to be preferred in general, the existing patch at #11 ๐ Return type on \Drupal\media\MediaSourceFieldConstraintsInterface::getSourceFieldConstraints is wrong Needs work is already providing the needed change here; and I verified it stills apply correctly.
Hence, I am adding it back for consideration.
The other route is to change the MR to almost rollback everything, or opening a new branch, but that may be too much for the actual 2-lines documentation change here. - Status changed to RTBC
about 1 year ago 1:40pm 19 October 2023 - ๐บ๐ธUnited States smustgrave
Agree patch #11 seems more in line.
Also FYI for a lot of people here, issue was tagged novice for new users. @elber you have over 2000 posts and @roshni27 almost a 1000. Think you are experienced enough and can handle the non novice issues.
- last update
about 1 year ago 30,417 pass 13:14 23:29 Running- last update
about 1 year ago 30,426 pass - last update
about 1 year ago 30,427 pass - last update
about 1 year ago 30,437 pass - last update
about 1 year ago 30,456 pass - last update
about 1 year ago 30,464 pass - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,485 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,488 pass - last update
about 1 year ago 30,511 pass - ๐บ๐ธUnited States xjm
Unless these APIs were only added in 10.2.x, adding new typehints to existing code is a breaking change. We have another RTBC I've already tagged to that effect. They really need to be attached to a parent meta (which probably already exists) where we can discuss it.
- last update
about 1 year ago 30,516 pass - ๐ฆ๐บAustralia dpi Perth, Australia
@xjm the most recent MR is off the rails. The doc only changes are recommended at this time, per previous comments. Can you provide new analysis/remove tag?
- Status changed to Needs work
about 1 year ago 12:06pm 11 November 2023 - ๐ฌ๐งUnited Kingdom longwave UK
I agree the typehints are out of scope here and it looks like this should be a docs-only fix. But #11 only changes
MediaSourceFieldConstraintsInterface
whereas the MR also does change the docs inMediaSourceEntityConstraintsInterface
. If this is correct then we should change both at once.I suggest opening a new MR rather than using patch workflow.
- Merge request !5594Improve return documentation on a couple of media interface methods โ (Closed) created by marvil07
- Status changed to Needs review
about 1 year ago 7:15pm 29 November 2023 - ๐ต๐ชPeru marvil07
I agree the typehints are out of scope here and it looks like this should be a docs-only fix. But #11 only changes MediaSourceFieldConstraintsInterface whereas the MR also does change the docs in MediaSourceEntityConstraintsInterface. If this is correct then we should change both at once.
@longwave, that makes sense.
I changed the issue title accordingly too.I suggest opening a new MR rather than using patch workflow.
I opened a new MR 4264 based on patch #11 and the similar change in the MR for other interface.
Marking the path on #11 as hidden, as well as the previous MR for easier review.
Please feel free to skip contribution credits for me here if needed, since this is a novice task.
I decided to go ahead since (i) there was no activity here for a couple of weeks, (ii) extracting the bits from both an MR and a patch sounds a bit less of the novice side, and (iii) improvements on DX are nice to have. - ๐ต๐ชPeru marvil07
marvil07 โ changed the visibility of the branch 3367151-return-type-on to hidden.
- Status changed to RTBC
about 1 year ago 9:10pm 29 November 2023 - ๐บ๐ธUnited States xjm
Thanks @dpi for explaining the situation and @longwave for getting it all rescoped correctly.
I had a very small grammar nitpick with the final version, which I fixed on the MR.
- ๐บ๐ธUnited States xjm
Committed to 11.x, 10.2.x, and 10.1.x as a patch-safe documentation bugfix. Thanks!
- Status changed to Fixed
about 1 year ago 12:41am 5 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.