Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The oa_files app uses the method oa_related_get_best_section()
from the oa_related module, however it does not depend on it in the oa_files.info file.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2890226-oa_files-dependency-2.patch | 350 bytes | Jorrit |
Comments
Comment #2
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedThe patch.
Comment #3
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedComment #4
mpotter CreditAttribution: mpotter at Phase2 commentedActually, I think that oa_related_get_best_section() function should be moved into oa_core.utils or something. That function isn't specific to oa_related and we don't want oa_files to actually depend on oa_related.
Comment #5
mpotter CreditAttribution: mpotter at Phase2 commentedSince this spanned across a couple modules, I went ahead and committed the following:
Didn't want to post a bunch of separate patches, but let me know if those take care of the problem.
Comment #6
Jorrit CreditAttribution: Jorrit at nCode for DOM Digital Online Media GmbH commentedThis seems to me to be the best long term solution, thanks a lot!