Wrong usage of hook_system_info_alter

Created on 9 June 2015, almost 10 years ago
Updated 26 November 2024, 4 months ago

The implemented hook_system_info_alter controls the version of file_entity and media, if they are installed. However, this hook is not called during installation of the module and will first be fired when installing other modules, that e.g. depend on oembed.

So it's quite possible to install oembed with a wrong version of media, and first when another module which depends on oembed is installed the hook will deny that.

Furthermore, I think it would be better to choose the version number ">=2.0" instead of ">1.99".

πŸ› Bug report
Status

Closed: outdated

Component

Code

Created by

πŸ‡©πŸ‡°Denmark bartvig

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡¦Ukraine AstonVictor

    I'm closing it because the issue was created a long time ago without any further steps.

    if you still need it then raise a new one.
    thanks

Production build 0.71.5 2024