- π·π΄Romania amateescu
@acrazyanimal, a place to store workspace history will be introduced in #2968861: Add a way to revert (undo) a workspace β , it's out of scope for this issue :)
While looking at this patch patch again, I noticed that we need to ensure that
WorkspaceAssociation::getEntityTrackingWorkspaceIds()
returns workspaces with the most recent revisions first, to cover the case when an entity is edited in a sub-workspace.Interdiff is to #2, because we can't make the change from #3 in this issue.
- Status changed to Needs work
over 1 year ago 7:14pm 2 March 2023 - πΊπΈUnited States smustgrave
Applying the patch tested all the major functionality
Created a workspace
Switched workspaces
Published contentNo issue
But don't the changes to the __construct need to be deprecated/trigger_error for backwards compatibility?
- Merge request !7205Improve and add test coverage for the entity workspace conflict validator. β (Open) created by amateescu
- Status changed to Needs review
8 months ago 8:09am 27 March 2024 - π·π΄Romania amateescu
Converted the patch to a MR and added explicit test coverage, as requested by @plach in #3091481: Add explicit test coverage for EntityWorkspaceConflictConstraintValidator β .
- Status changed to RTBC
8 months ago 5:11pm 27 March 2024 - πΊπΈUnited States smustgrave
Added some small nitpicky changes which didn't break anything. Rest of changes appear good though.
- Status changed to Fixed
8 months ago 2:02pm 28 March 2024 - π¬π§United Kingdom catch
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
-
alexpott β
committed 0cf3a8b9 on 10.3.x
Revert "Issue #3300639 by amateescu, acrazyanimal, smustgrave: Improve...
-
alexpott β
committed 0cf3a8b9 on 10.3.x
-
alexpott β
committed e453998c on 11.x
Revert "Issue #3300639 by amateescu, acrazyanimal, smustgrave: Improve...
-
alexpott β
committed e453998c on 11.x
- Status changed to Needs work
8 months ago 4:43pm 29 March 2024 - π¬π§United Kingdom alexpott πͺπΊπ
This broke SQLite testing - see https://git.drupalcode.org/project/drupal/-/pipelines/132682/test_report
core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php
core/modules/workspaces/tests/src/Kernel/EntityWorkspaceConflictConstraintValidatorTest.phpFail
- Status changed to Needs review
8 months ago 2:00pm 1 April 2024 - π·π΄Romania amateescu
That SQLite test failure was great, it revealed that
WorkspaceAssociation::getEntityTrackingWorkspaceIds()
was relying on implicit sorting on mysql and postgres. Committed a fix for that. - Status changed to Needs work
8 months ago 4:32pm 1 April 2024 - Status changed to Needs review
8 months ago 9:11am 2 April 2024 - Status changed to RTBC
8 months ago 2:14pm 2 April 2024 - πΊπΈUnited States smustgrave
That appeared to fix all failures. Thanks!
- Status changed to Fixed
8 months ago 2:43pm 2 April 2024 - π¬π§United Kingdom alexpott πͺπΊπ
Committed and pushed d9a1c6e83f to 11.x and da97aa7e11 to 10.3.x. Thanks!
-
alexpott β
committed da97aa7e on 10.3.x
Issue #3300639 by amateescu, acrazyanimal, smustgrave: Improve and add...
-
alexpott β
committed da97aa7e on 10.3.x
-
alexpott β
committed d9a1c6e8 on 11.x
Issue #3300639 by amateescu, acrazyanimal, smustgrave: Improve and add...
-
alexpott β
committed d9a1c6e8 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.