Failing to determine chain_menu_access API version when using modules as git repositories instead of packages

Created on 6 August 2013, over 11 years ago
Updated 27 July 2023, over 1 year ago

forum_access is checking chain menu access API version by parsing chan_menu_access.info file and getting 'version' field.
However, this does not works if you are keeping all your site modules as git submodules repositories instead of downloading them from drupal.org as packages.
When you download modules as packages from drupal.org, you have:
version=7.x-2.0
Added into module.info by drupal.org packaging script
But when using your modules as git repositories, you don't have version information in it.
So when not finding version= inside chain_menu_access, forum_access decides chain_menu_access is old API version, while it may not be, as in my case.
Bottom line, a better chain_menu_access API version detection must be implemented.
Thanks
Alexandre

📌 Task
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇧🇷Brazil alexandrezia

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.

  • 🇨🇭Switzerland salvis

    Whoa, a 10-year-old issue — happy anniversary! ;-)

    I've remove the version checking and I'm requiring >= 7.x-2.1 in forum_access.info of the upcoming release.

Production build 0.71.5 2024