- Issue created by @nlisgo
- π¬π§United Kingdom nlisgo
I think it's possible this could have been caught with an extension to the coverage of Workspaces.
The best location for an extension of tests for '/admin/config/workflow/workspaces/manage/{workspace}/publish' and '/admin/config/workflow/workspaces/manage/{source_workspace}/{target_workspace}/merge' may be Drupal\Tests\workspaces\Functional\WorkspacePermissionsTest
- last update
over 1 year ago Custom Commands Failed - @nlisgo opened merge request.
- Status changed to Needs review
over 1 year ago 2:38pm 22 July 2023 - last update
over 1 year ago 29,879 pass - last update
over 1 year ago 29,871 pass, 2 fail - @nlisgo opened merge request.
- π¬π§United Kingdom nlisgo
I've added a test for the publish content of a workflow which exposes the bug at least for the publish form.
- Status changed to Needs work
over 1 year ago 6:53pm 22 July 2023 - πΊπΈUnited States smustgrave
So the test-only MR fails but the tests weren't added to the main MR (4448) to see if they would pass. Can you add those please.
- last update
over 1 year ago 29,880 pass - Status changed to Needs review
over 1 year ago 10:01pm 22 July 2023 - π¬π§United Kingdom nlisgo
I've added the test to the main MR. Apologies.
- Status changed to RTBC
over 1 year ago 12:49am 23 July 2023 - πΊπΈUnited States smustgrave
Confirmed the bug in the IS
MR 4448 solves the issue.
4449 shows the test case is showing the problem. - Status changed to Needs work
over 1 year ago 3:57pm 24 July 2023 - π·π΄Romania amateescu
The changes done in π Inject redirect.destination service instead of using \Drupal:: destination() in non-tests Fixed were incorrect for the workspace merge and publish forms. They are using
RedirectDestinationTrait
so that issue should have used$this->getDestinationArray()
instead of trying to inject the redirect destination service. Let's correct that properly in this issue :) - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Confirmed the bug through manual testing
Left a review, couple of minor optimisations, fine to self RTBC those changes
edit: crosspost with @amateescu
Yes, agree to his suggestions ++
- last update
over 1 year ago 29,880 pass - π¬π§United Kingdom nlisgo
Thanks for the review everyone. I have addressed the feedback from @amateescu.
- Status changed to Needs review
over 1 year ago 7:43am 25 July 2023 - last update
over 1 year ago 29,880 pass - Status changed to RTBC
over 1 year ago 9:54am 25 July 2023 - last update
over 1 year ago 29,882 pass - last update
over 1 year ago 29,882 pass - last update
over 1 year ago 29,886 pass - last update
over 1 year ago 29,887 pass -
larowlan β
committed 917678cf on 11.x
Issue #3376293 by nlisgo, smustgrave, amateescu: WorkspacePublishForm $...
-
larowlan β
committed 917678cf on 11.x
-
larowlan β
committed 3dc86aa6 on 10.1.x
Issue #3376293 by nlisgo, smustgrave, amateescu: WorkspacePublishForm $...
-
larowlan β
committed 3dc86aa6 on 10.1.x
- Status changed to Fixed
over 1 year ago 9:53pm 28 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.