- Issue created by @demon326
- ๐ฌ๐งUnited Kingdom aaron.ferris
aaron.ferris โ made their first commit to this issueโs fork.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
6 months ago Waiting for branch to pass - ๐ฌ๐งUnited Kingdom aaron.ferris
Had an initial stab at this, where the user_roles function has been replaced it seems to be working the same way, needs more testing.
- Assigned to PrabuEla
- ๐ฎ๐ณIndia PrabuEla chennai
Hi @aaron.ferris
I have switched to your branch and executed upgrade status scan once again. I found some issue in the scan. Attaching below. Please correct me if I am wrong.
CONTRIBUTED PROJECTS
--------------------------------------------------------------------------------
Flag
Scanned on Tue, 05/14/2024 - 08:41.3 warnings found.
web/modules/contrib/flag/src/Plugin/views/relationship/FlagViewsRelationship.php:
+-----------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+-----------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Fix
later | 148 | Call to deprecated function user_roles(). Deprecated in
drupal:10.2.0 and is removed from drupal:11.0.0. Use
Drupal\user\Entity\Role::loadMultiple() and, if necessary,
an inline implementation instead.
|
+-----------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
web/modules/contrib/flag/tests/src/Functional/AdminUITest.php:
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| status | line | message |
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Check
manually | 188 | Relying on entity queries to check access by default is
deprecated in drupal:9.2.0 and an error will be thrown from
drupal:10.0.0. Call
\Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
TRUE or FALSE to specify whether access should be checked.
|
| Check
manually | 204 | Relying on entity queries to check access by default is
deprecated in drupal:9.2.0 and an error will be thrown from
drupal:10.0.0. Call
\Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
TRUE or FALSE to specify whether access should be checked.
|
+----------------+------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - Issue was unassigned.
- Status changed to Needs work
6 months ago 8:50am 14 May 2024 - ๐ฌ๐งUnited Kingdom aaron.ferris
Hello @PrabuEla
Thanks, yes indeed, I missed FlagViewsRelationship.php. Ill check the other complaints.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
6 months ago Waiting for branch to pass - Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
6 months ago Waiting for branch to pass - ๐จ๐ญSwitzerland berdir Switzerland
Left some comments. This should opt in to NEXT_MAJOR testing so we can verify the tests actually work on D11.
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
6 months ago Waiting for branch to pass - ๐ฎ๐ณIndia samit.310@gmail.com
samit.310@gmail.com โ made their first commit to this issueโs fork.
- Merge request !65Resolve #3446713 "Drupal 11 compatibility fix" โ (Merged) created by samit.310@gmail.com
- Open on Drupal.org โCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
6 months ago Waiting for branch to pass - ๐ฎ๐ณIndia samit.310@gmail.com
samit.310@gmail.com โ changed the visibility of the branch 3446713-drupal-11-compatibility to hidden.
- Status changed to Needs review
6 months ago 6:20am 6 June 2024 -
Berdir โ
committed 52c78528 on 8.x-4.x authored by
samit.310@gmail.com โ
Issue #3446713 by aaron.ferris, Berdir, samit.310@gmail.com: Drupal 11...
-
Berdir โ
committed 52c78528 on 8.x-4.x authored by
samit.310@gmail.com โ
- Status changed to Fixed
4 months ago 9:18pm 13 July 2024 - ๐จ๐ญSwitzerland berdir Switzerland
All tests are passing except ๐ FlagFollowerUITest failing since new access policy was committed to core Active and that's failing already on HEAD and fails on all branches.
Not sure how this ended up with so many different branches and merge requests, but *shrug*.
Merged.
Automatically closed - issue fixed for 2 weeks with no activity.