Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filehash 3.x? #21

Open
rosiel opened this issue Apr 29, 2024 · 1 comment · May be fixed by #22
Open

Filehash 3.x? #21

rosiel opened this issue Apr 29, 2024 · 1 comment · May be fixed by #22

Comments

@rosiel
Copy link

rosiel commented Apr 29, 2024

We're looking at updating Islandora's requirement for filehash to allow the 3.x versions; would you be amenable to doing the same? I think the main "breaking" change was the requirement for Drupal 10.2.
https://www.drupal.org/project/filehash/releases/3.0.0

@ruebot
Copy link
Contributor

ruebot commented Jun 10, 2024

Looks like FileHash::algos() no longer exists in the 3.x version.

Error: Call to undefined method Drupal\filehash\FileHash::algos() in Drupal\dgi_fixity\FixityCheckService->check() (line 226 of /var/www/html/drupal/web/modules/contrib/dgi_fixity/src/FixityCheckService.php)

#0 /var/www/html/drupal/web/modules/contrib/dgi_fixity/src/Plugin/QueueWorker/FixityCheckWorker.php(64): Drupal\dgi_fixity\FixityCheckService->check()
#1 /var/www/html/drupal/web/core/lib/Drupal/Core/Cron.php(268): Drupal\dgi_fixity\Plugin\QueueWorker\FixityCheckWorker->processItem()
#2 /var/www/html/drupal/web/core/lib/Drupal/Core/Cron.php(233): Drupal\Core\Cron->processQueue()
#3 /var/www/html/drupal/web/core/lib/Drupal/Core/Cron.php(162): Drupal\Core\Cron->processQueues()
#4 /var/www/html/drupal/web/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#5 /var/www/html/drupal/web/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#6 [internal function]: Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate()
#7 /var/www/html/drupal/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#8 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(115): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#9 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(63): Symfony\Component\HttpKernel\HttpKernel->terminate()
#10 /var/www/html/drupal/web/core/lib/Drupal/Core/DrupalKernel.php(688): Drupal\Core\StackMiddleware\StackedHttpKernel->terminate()
#11 /var/www/html/drupal/web/index.php(22): Drupal\Core\DrupalKernel->terminate()
#12 {main}

ruebot added a commit to yorkulibraries/dgi_fixity that referenced this issue Jun 10, 2024
@ruebot ruebot linked a pull request Jun 10, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants