Account created on 14 June 2015, over 9 years ago
  • Senior Drupal Developer at Wunderย  โ€ฆ
#

Recent comments

๐Ÿ‡ซ๐Ÿ‡ฎFinland mlahde

This patch works for us, but is far from stylish. Prolly the setting of the actual port should be somewhere else.
I'd be interested to know if anybody else has been facing this, and how did you tackle it? I'm still trying to get this in the server side, so this is probably a temporary solution. Yeah, right.
Used git diff origin/8.x-3.x > force-server-port-3468089-2.patch

๐Ÿ‡ซ๐Ÿ‡ฎFinland mlahde

Hi, I just applied v.4.0.1 for the D10 jump and the Upgrade Status module's scan gives:

CDN 4.0.1
Scanned on Wed, 05.07.2023 - 10:24.
2 errors found. 17 warnings found.

web/modules/contrib/cdn/cdn.module:
LINEโ”‚ 53 โ”‚ Call to deprecated function file_create_url(). Deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use the appropriate method on \Drupal\Core\File\FileUrlGeneratorInterface instead.
LINE โ”‚ 53 โ”‚ 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.

web/modules/contrib/cdn/tests/src/Kernel/CdnStreamWrapperConstraintValidatorTest
.php:
LINEโ”‚ 31 โ”‚ Call to deprecated method prophesize() of class PHPUnit\Framework\TestCase: https://github.com/sebastianbergmann/phpunit/issues/4141

...and a dozen of other prophesize() depreprecation errors plus:

web/modules/contrib/cdn/cdn_ui/src/Form/CdnSettingsForm.php:
LINE โ”‚ 90 โ”‚ The 'cdn_ui/summaries' library is not defined because the defining extension is not installed. Cannot decide if it is deprecated or not.

So it seems the file_url_transform_relative(file_create_url($uri)) issue is still there as well as some test and library related issues.

Cheers and thanks for all the great work!
-Marika

Production build 0.71.5 2024