- Issue created by @plopesc
- Merge request !6179Issue #3414800 by plopesc: Access check in AnnounceBlock does not take into account $return_as_object parameter β (Open) created by plopesc
- Status changed to Needs review
about 1 year ago 3:39pm 15 January 2024 - Status changed to Needs work
about 1 year ago 12:40am 16 January 2024 - πΊπΈUnited States smustgrave
Thanks for reporting.
Adding test coverage as a remaining task.
- Status changed to Needs review
about 1 year ago 8:49am 16 January 2024 - πͺπΈSpain plopesc Valladolid
Thank you for your review @smustgrave
More specific tests were added, they're green in the main pipeline and the test only job fails. https://git.drupalcode.org/issue/drupal-3414800/-/pipelines/77948
- Status changed to RTBC
about 1 year ago 7:55pm 21 January 2024 - πΊπΈUnited States smustgrave
Test coverage appears to be there.
Change seems simple enough that I can mark now vs waiting.
- π¬π§United Kingdom longwave UK
Normally adding return types to existing code is not allowed because someone might have extended it. But in this specific case I can't see a reason why anyone would be subclassing the announcement block, so going to let this one slide.
Eligible as a bug fix in 10.2.x so backported there too.
Committed and pushed 7025180d11 to 11.x and 67bb7069a0 to 10.2.x. Thanks!
- Status changed to Fixed
about 1 year ago 10:45pm 24 January 2024 -
longwave β
committed 67bb7069 on 10.2.x
Issue #3414800 by plopesc, smustgrave: Access check in AnnounceBlock...
-
longwave β
committed 67bb7069 on 10.2.x
-
longwave β
committed 7025180d on 11.x
Issue #3414800 by plopesc, smustgrave: Access check in AnnounceBlock...
-
longwave β
committed 7025180d on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.