- Issue created by @Harry Slaughter
- First commit to issue fork.
- Assigned to dineshkumarbollu
- ๐ฎ๐ณIndia dineshkumarbollu
vendor/bin/drush upgrade_status:analyze custom_breadcrumbs
[notice] Processing /var/www/html/vbd9/web/modules/contrib/custom_breadcrumbs-3358046.================================================================================
Custom breadcrumbs, --
Scanned on Thu, 05/04/2023 - 11:07FILE: web/modules/contrib/custom_breadcrumbs-3358046/src/BreadcrumbBuilder.php
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 444 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.
-------------------------------------------------------------------------------- - @dineshkumarbollu opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:45am 4 May 2023 - ๐ฎ๐ณIndia dineshkumarbollu
Hi
I created MR for this issue, also i am attaching screenshot of upgarde status report for D10 ready.
please Review,
Thanks
- last update
over 1 year ago Patch Failed to Apply - ๐บ๐ธUnited States Harry Slaughter Omaha NE USA
Previous patch was not formated properly.
- last update
over 1 year ago Patch Failed to Apply - First commit to issue fork.
- @snap_x opened merge request.
- Status changed to RTBC
over 1 year ago 2:18pm 30 May 2023 - ๐บ๐ฆUkraine snap_x
Thanks for the patch @dineshkumarbollu for 1.x version. I tested it and it works fine for me. So I will change the issue status to RTBC.
Looking forward for the new release.Thanks Harry Slaughter for 1.0.1 path. it is better to use dependency injection for FileUrlGenerator service. I created a new MR for 1.0.1 version with DI.
- First commit to issue fork.
- ๐บ๐ฆUkraine Foxy-vikvik
The website encountered an unexpected error. Please try again later. ArgumentCountError: Too few arguments to function Drupal\custom_breadcrumbs\BreadcrumbBuilder::__construct(), 9 passed in /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 and exactly 10 expected in Drupal\custom_breadcrumbs\BreadcrumbBuilder->__construct() (line 137 of modules/contrib/custom_breadcrumbs/src/BreadcrumbBuilder.php). Drupal\custom_breadcrumbs\BreadcrumbBuilder->__construct(Object, Object, Object, Object, Object, Object, Object, Object, Object) (Line: 259) Drupal\Component\DependencyInjection\Container->createService(Array, 'beneva.breadcrumb') (Line: 177)
Had that issue related to fileUrlGenerator
Drupal 9.5 and PHP 8.1 - Status changed to Needs review
over 1 year ago 12:13pm 11 July 2023 - ๐บ๐ฆUkraine Foxy-vikvik
I'm having trouble with the previous patch. Patch with the latest changes for the 1.0.1 branch
I have added Null value in the BreadcrumbBuilder__construct() - ๐บ๐ธUnited States branram
Just curious, this version says it works with D10, but I'm running the latest (10.1.1) and it's saying this module isn't compatible. Is there something we need to do in order to use Custom Breadcrumbs with these later versions?
- ๐บ๐ฆUkraine Foxy-vikvik
Did you use the lenient for installing custom_breadcrumbs module on Drupal 10?
On 10.1.0 it is working well without any issues. - ๐ซ๐ทFrance notFloran Reims
With Drupal 10 and the version 1.0.1 of the module the #13 patch is not working.
I have the following error :
TypeError: Drupal\custom_breadcrumbs\BreadcrumbBuilder::__construct(): Argument #10 ($fileUrlGenerator) must be of type ?Drupal\custom_breadcrumbs\FileUrlGeneratorInterface, Drupal\Core\File\FileUrlGenerator given, called in /xxxxx/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\custom_breadcrumbs\BreadcrumbBuilder->__construct() (line 136 of modules/contrib/custom_breadcrumbs/src/BreadcrumbBuilder.php).
Because the "use" for Drupal\Core\File\FileUrlGenerator is missing.
I have edited the patch to fix the issue.
- last update
over 1 year ago Patch Failed to Apply - ๐บ๐ธUnited States emptyvoid
While running a update_status pass using phpstan the following notices were generated against the latest patched version.
Custom breadcrumbs, 1.0.1 Scanned on Thu, 07/27/2023 - 15:15 FILE: modules/contrib/custom_breadcrumbs/src/BreadcrumbBuilder.php STATUS LINE MESSAGE -------------------------------------------------------------------------------- Check manually 284 Call to deprecated function file_url_transform_relative(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use Drupal\Core\File\FileUrlGenerator::transformRelative() instead. -------------------------------------------------------------------------------- Check manually 427 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. --------------------------------------------------------------------------------
- ๐บ๐ธUnited States rishi kulshreshtha
Rishi Kulshreshtha โ made their first commit to this issueโs fork.
- ๐บ๐ธUnited States aaronpinero
The patch in #16 applied cleanly using composer, fixed the compatibility of the module with D10 (as per upgrade status module) and seems to preserve the functionality of the module. So RTBC+1
- Status changed to Needs work
over 1 year ago 11:08am 1 September 2023 - ivnish Kazakhstan
aaronpinero, the patch #16 can not apply, because some changes are already committed to dev. Needs reroll
- First commit to issue fork.
- ๐ฆ๐บAustralia pameeela
Am I the only one finding the custom breadcrumbs aren't working in D10? Have a site using it just fine in D9 and with this latest MR for D10, I can't get even the simplest custom breadcrumb to work.
- ๐บ๐ธUnited States malik.kotob
malik.kotob โ made their first commit to this issueโs fork.
- Status changed to Needs review
over 1 year ago 8:17pm 9 October 2023 - ๐ณ๐ฟNew Zealand ericgsmith
I have tested on Drupal 10.1 manually and works as expected, and tests are passing.
Setting back to needs review - it looks like the only outstanding discussion is the deprecation notice.
- Assigned to lamp5
- ๐บ๐ธUnited States aitala
Seems to work nicely on D 9.5.11
Thanks,
Eric - First commit to issue fork.
- 70304404 committed on 1.x
Issue #3358046 by colan: Fixed PHPCS errors.
- 70304404 committed on 1.x
-
ericgsmith โ
committed 10f83f9d on 1.x
Issue #3358046: Bump version in deprecation message to 1.1.0 as expected...
-
ericgsmith โ
committed 10f83f9d on 1.x
- 039b5c35 committed on 1.x
Issue #3358046: Adjust deprecation warning messaging to reflect custom...
- 039b5c35 committed on 1.x
-
ericgsmith โ
committed 3bcdd39c on 1.x authored by
Foxy-vikvik โ
Issue #3358046: Added NUll into anotation for constructor.
-
ericgsmith โ
committed 3bcdd39c on 1.x authored by
Foxy-vikvik โ
-
ericgsmith โ
committed 1a6d8bb0 on 1.x authored by
Foxy-vikvik โ
Issue #3358046: Added default value NULL for fileUrlGenerator.
-
ericgsmith โ
committed 1a6d8bb0 on 1.x authored by
Foxy-vikvik โ
-
ericgsmith โ
committed 07b76f50 on 1.x authored by
snap_x โ
Issue #3358046: Drupal 10 compatibility fixes
-
ericgsmith โ
committed 07b76f50 on 1.x authored by
snap_x โ
- Status changed to Fixed
about 1 year ago 2:16pm 26 October 2023 - ๐จ๐ฆCanada colan Toronto ๐จ๐ฆ
Thanks all! See new release with DD10 support: https://www.drupal.org/project/custom_breadcrumbs/releases/1.1.0 โ
Automatically closed - issue fixed for 2 weeks with no activity.