- Issue created by @malcomio
- π¬π§United Kingdom malcomio
I think that the relevant change is the addition of the route subscriber in https://git.drupalcode.org/project/wse/-/commit/69838e13489891a9995fe8f8...
- Status changed to Needs work
12 months ago 10:05am 24 April 2024 - π·π΄Romania amateescu
We can do something like this in WSE, but we also need an issue in the Diff module to factor out getting the revision IDs from
\Drupal\diff\Form\RevisionOverviewForm::buildForm()
into a separate method, because overriding and copying all that code is a bit too much to do in this module.Once we have that issue (and patch), we need to extend this patch and override
\Drupal\diff\Form\RevisionOverviewForm
. - heddn Nicaragua
Ran into this exact issue on a client site today. Did the diff module issue get opened?
- π·π΄Romania amateescu
@heddn, no.. I was hoping someone else could do it and I would finish up the bits needed here.
- heddn Nicaragua
β¨ Allow usage of revision comparison inside workspaces Needs work seems like a close issue to this. Going to hijack it. Changes pushed over there.
- heddn Nicaragua
β¨ Allow usage of revision comparison inside workspaces Needs work is green if we can get it to RTBC.
- Status changed to Postponed
5 months ago 8:47pm 5 November 2024 - First commit to issue fork.
- Merge request !81Don't create new revisions for every menu tree update in a workspace, and... β (Closed) created by adamzimmermann
- πΊπΈUnited States adamzimmermann
Should this issue be for version 2.0.x-dev? I think that is why the MR I opened had a diff wildly different than what I expected.
Going to try take two on generating a new patch that adds return types to the methods to make them match the method signatures in the latest diff module.
- πΊπΈUnited States adamzimmermann
This takes the work from the patch in comment #3 and adds return types to fix a WSOD issue and removes some debugging code I found in the patch. I'm able to load the diff route now with this module enabled.
FWIW I based my patch branch off of the 2.0.x branch and the patch in #3 applied cleanly as my starting point for updating it.
-
amateescu β
committed 2c42296b on 2.0.x
Issue #3442963 by amateescu, adamzimmermann: Incompatible with diff...
-
amateescu β
committed 2c42296b on 2.0.x
-
amateescu β
committed dcbb9fd2 on 1.0.x
Issue #3442963 by amateescu, adamzimmermann: Incompatible with diff...
-
amateescu β
committed dcbb9fd2 on 1.0.x
- π·π΄Romania amateescu
This is now working nicely with the latest dev version of the Diff module, so I've committed the patch above to 2.0.x and cherry-picked to 1.0.x. Thanks everyone!
Automatically closed - issue fixed for 2 weeks with no activity.