Closed (fixed)
Project:
Diff
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2022 at 10:24 UTC
Updated:
9 Jul 2022 at 13:59 UTC
Jump to comment: Most recent
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jeroentComment #4
jeroentComment #5
berdirMost visible test fails are the PHP 8.1 problem now that #3256598: Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated is fixing, probably makes sense to keep that separate and fix that first. but I suppose we could include the change to see what else is failing.
Comment #6
jeroentI closed #3255886: The "access_check.node.revision" service is deprecated. You should use the 'access_check.entity' service instead. as a duplicate.
merlin06 and heddn did some work there, so it would be kind to give them credits on this issue.
Comment #7
berdirComment #8
berdirRebased on 8.x-1.x, down to two failing tests. These tests are also failing on 9.4, I suspect that's a string change around the delete forms that happened there.
As I'm not sure when exactly this will be committed (due to requiring 9.4), it might make sense to fix those fails separately.
Comment #9
jeroentI found the problem.
In Drupal 9.3, the content (with the revision table) was shown first. The tabs were shown beneath the content.
So
$this->clickLink(t('Delete'), 0);clicked the first Delete button in the revision table.In Drupal 9.4 and 10, the tabs were shown above the content. So
$this->clickLink(t('Delete'), 0);resulted in deleting the node instead of a revision. This is why the delete message was no longer found.I updated the selector, so now this should work in all Drupal versions.
Comment #10
chr.fritschBecause we need to raise the min version to 9.3 I would vote for creating a new release now, then committing this patch and creating another release.
I think since the module has not much activity it's ok to do that. Drupal 9.2 will be EOL in 4 months anyway.
Comment #12
phenaproximaComment #14
phenaproximaMerged into 8.x-1.x. Thanks!