Problem/Motivation

When running webform_update_8045, the script returned an error saying the module "webform_node_test_translation" does not exist. This was due to the fact that WebformReflectionHelper::getSubModules lists it as a submodule, although it's not something that's generally usable. Using the nomask-option when calling scanDirectory of FileSystemInterface fixes the issue.

Steps to reproduce

Run webform_update_8045 or any other invocation of WebformReflectionHelper::getSubModules.

Proposed resolution

Call FileSystemInterface::scanDirectory with the nomask-option set to '/^tests$/'.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lammensj created an issue. See original summary.

jrockowitz’s picture

Status: Needs review » Reviewed & tested by the community

  • 9a854a4 committed on 6.1.x
    Issue #3310349 by lammensj: WebformReflectionHelper::getSubModules...

  • 9a854a4 committed on 6.x
    Issue #3310349 by lammensj: WebformReflectionHelper::getSubModules...

  • 9a854a4 committed on 6.2.x
    Issue #3310349 by lammensj: WebformReflectionHelper::getSubModules...
jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.