Closed (fixed)
Project:
Cloudinary Integration
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Sep 2020 at 15:50 UTC
Updated:
12 Jul 2022 at 08:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
damondt commentedThere is a nested dev dependency incompatible with Drupal 9 of doctrine/annotations: ^1.2 which is required by friendsofphp/php-cs-fixer which is required by cloudinary/cloudinary_php ^1.8 this could be solved by requiring 1.8.0 specifically.
Comment #3
damondt commentedUpdated patch to resolve dependency conflict with D9.
Comment #4
damondt commentedUpdated patch to resolve "The URI '' is invalid" message on image upload due to empty uri.
Comment #5
Pooja Ganjage commentedHi,
I am applying updated patch for #4 comment, that need to use dependency injection for drupal 9 compatability purpose.
Kindly review this patch once.
Thanks.
Comment #6
Pooja Ganjage commentedComment #7
damondt commentedThanks for the dependency injection work, it will need to be rolled into patch #4 as patch #5 does not contain any of the other updates.
Comment #8
damondt commentedAdded dependency injection fix from #5 and fix for accessing images.
Comment #9
damondt commentedComment #12
markdorisonCreated a fork/MR for the patch in #8 so it could be pulled in that way via Composer.
Comment #13
BioALIEN commentedThe
cloudinary_phpversion 1.8.0 does not support PHP 7.4 so I am against hardcoding this in composer.json and PHP 7.3 will reach EOL in December 2021 so I recommend using the latest 1.20.0 branch of the library or at the minimum 1.18.0 which is where PHP 7.4 issues were resolved.Comment #15
bunty badgujar commentedHi all, I am trying to upgrade my project to Drupal 9 which using cloudinary but as this module doesn't have any release compatible to D9. We are not able to move core from D8 to D9. Moving this issue to critical.
Comment #16
intrafusion@Bunty Badgujar this is not a critical issue, please see https://www.drupal.org/docs/develop/issues/fields-and-other-parts-of-an-... for details
There is a work around, you need to apply the patch from the merge request in this issue, see https://www.drupal.org/docs/develop/using-composer/using-composer-to-ins... how to do this
Comment #17
bunty badgujar commentedThanks @intrafusion, for suggestion. As drupal package manager use info.yml file to check dependance, we can't even download this module in D9 composer based project. There is a work around that can use issue fork. use issue forks to make compatibility fixes work with composer
Comment #18
decipheredThanks for the link @Bunty Badgujar, here's the modifications I made to get it downloading myself:
1. Update composer.json:
2.
composer require 'drupal/cloudinary:dev-3168749-drupal-9-compatability'Comment #19
marcelovaniI got an email from @abhinesh asking to become a maintainer to help on this issue. I advised him to help on this issue and we will merge this once reviewed by the community.
Comment #20
nginex commentedHey guys, new Drupal 9 release is now available, check it out!
You can simply install it with composer
composer require 'drupal/cloudinary:^2.0@alpha'