Handled backward compatibility for service file_url_generator

Created on 31 May 2024, 7 months ago
Updated 1 June 2024, 7 months ago

Problem/Motivation

Flipbook 10.0.0 has error
You have requested a non-existent service "file_url_generator". Did you mean this: "url_generator"?

for drupal 9.2.5 and less.

Steps to reproduce

Install the flipbook module for drupal 9.2.5 or less and open
/admin/structure/flipbook/list route

Proposed resolution

To check if the file_url_generator service exist and if it does not exist then use a code for else condition that is suitable for backward compatibility.

🐛 Bug report
Status

Fixed

Version

10.0

Component

Code

Created by

🇮🇳India amritsingh09

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024