- Issue created by @caesius
- π¦π²Armenia le72 Yerevan π¦π²
Have the same issue. Drupal 10.1.6, Group 3.2.1.
- Status changed to Needs review
12 months ago 9:39am 21 November 2023 - πΊπΈUnited States markfien
The patch is for 3.x -- we are using 2.x -- is there a patch for that version please.
- Status changed to RTBC
12 months ago 1:31pm 23 November 2023 - Status changed to Needs work
12 months ago 7:25am 24 November 2023 - πΊπΈUnited States caesius
Please read the issue description.
This patch only works on Drupal 10.1.
Drupal 10.0 is not EOL until December 13th and even then it would be up to the project owner to decide whether to apply this patch as-is, making the project incompatible with Drupal <10.1.
If you're able to provide a patch that also works on Drupal 9.5 and Drupal 10.0 then please do so.
- Status changed to Needs review
12 months ago 5:31pm 24 November 2023 - last update
12 months ago 9,628 pass - π§πͺBelgium msnassar
Here is a patch that should work for all versions.
- πΊπΈUnited States somebodysysop
@msnassar The patch in #12 works for all versions of Drupal (9/10) or all versions of Group? We are running Group 2.x.
- π§πͺBelgium msnassar
@SomebodySysop It should work for all Group (1/2/3) and Drupal (9/10) versions. However, you don't need it for Drupal < 10.1
Note: This is a temporary fix. It can be used until Core and Group completely switch to the generic revision UI. Well... here's my take on a patch. Rather than simply removing one or the other, I went with checking the local menu for duplicate "Revisions" tabs and removing all but the first.
In theory it could be applied to any past or future version of Drupal or Group, and not do anything silly. Though I've only tried it on Drupal 10.1 and Group 3.2.x
- Status changed to Active
11 months ago 1:04pm 18 December 2023 - π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
This will be fixed in the next release because that one will bump the minimum supported core version to 10.2 and therefore allow me to remove my copy of the local task.
- Assigned to kristiaanvandeneynde
- π³π±Netherlands seanB Netherlands
kristiaanvandeneynde β credited seanB β .
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Will go with the fix from seanB in π Duplicate revisions tab with Drupal 10.1 Closed: duplicate , so adding credit. We can take that approach now that we've bumped the minimum version to D10.2 In a world where we kept older D10 versions supported, @ulethjay's patch actually makes sense, so I wouldn't consider it a dirty hack per se.
- Issue was unassigned.
- Status changed to Needs review
8 months ago 10:11am 13 March 2024 - π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Right, this goes green so if anyone can confirm this is working on their end, I've got the +1 I need to commit this.
- πΊπΈUnited States caesius
seanB's patch appears identical to the one I initially attached to this issue; I took it from RichardDavies on the parent ticket: https://www.drupal.org/project/group/issues/3029908#comment-15205403 β¨ Add revisions tab on groups Fixed
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Yeah, you got credit too for that. Just mentioning why I'm adding seanB to the list.
- πΊπΈUnited States caesius
I didn't write the patch though, so make sure to credit RichardDavies -- he got to this way before anyone else :P
- πΊπΈUnited States RichardDavies Portland, Oregon
kristiaanvandeneynde β credited RichardDavies β .
- πΊπΈUnited States caesius
Anyway, I've just tested the other patch and it also appears to work. Not sure what's up with the different paths between the two files but as long as they commit to the actual project identically then it's a non-issue.
I have tested this on Drupal 10.1 on Group 2.x with an actual project (and been using the patch on production for months) and it checked out fine there.
However on Drupal 10.2/Group 3.2.2 with a sandbox project I should note that applying the patch on an existing installation results in a WSOD:
In DiscoveryTrait.php line 53: The "group_permission" plugin does not exist. Valid plugin IDs for Drupal\views\Plugin\ViewsPluginManager are: perm, role, none
I have no idea if it's a "just me" issue or not, but this definitely needs more testing on latest Drupal+Group 3.2.2 to confirm that committing this won't hose existing projects. I've reinstalled several times and I get the error whether I apply or un-apply the patch after installing and setting up Groups.
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Given how all tests go green I'm erring on a "just you" issue :) But thanks for bringing it up, definitely something to keep an eye on.
- Status changed to Fixed
8 months ago 1:31pm 15 March 2024 -
kristiaanvandeneynde β
committed a71ed905 on 3.3.x
Issue #3397063 by kristiaanvandeneynde, caesius, ulethjay, msnassar,...
-
kristiaanvandeneynde β
committed a71ed905 on 3.3.x
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
Just confirmed this was working on on of our installations. Committing
-
kristiaanvandeneynde β
committed d309cc5b on 2.3.x
Issue #3397063 by kristiaanvandeneynde, caesius, ulethjay, msnassar,...
-
kristiaanvandeneynde β
committed d309cc5b on 2.3.x
Automatically closed - issue fixed for 2 weeks with no activity.