Skip to content

Tags updated by reloading dependent module not shown in designation #460

@xdelaruelle

Description

@xdelaruelle

On version 5.1.0, when tags set on loading module are updated by a reloading dependent module, the new tags are not reported in module designation.

$ ml show mod/1.0
-------------------------------------------------------------------
/path/to/modulefiles/mod/1.0:

prereq          --tag=foo foo/1.0 bar/1.0
-------------------------------------------------------------------
$ ml --no-auto --force mod/1.0
Loading mod/1.0
  WARNING: Requirement foo/1.0 or bar/1.0 is not loaded
$ ml foo/1.0
Loading foo/1.0
  Unloading dependent: mod/1.0
  Reloading dependent: mod/1.0
$ ml
Currently Loaded Modulefiles:
 1) foo/1.0 <foo>   2) mod/1.0  

Key:
<module-tag>

In the above situation, we should have seen the following load report message:

$ ml foo/1.0
Loading foo/1.0 <foo>
  Unloading dependent: mod/1.0
  Reloading dependent: mod/1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions