@@ -36,6 +36,10 @@ The following list describes the different kind of evaluation error:
3636* *forbidden *: evaluated modulefile is tagged forbidden
3737* *sticky unload *: when unloading a module tagged sticky
3838* *super-sticky unload *: when unloading a module tagged super-sticky
39+ * *dependent sticky reload *: *dependent reload * special case where a sticky
40+ dependent module fails to reload (during the load phase)
41+ * *dependent super-sticky reload *: *dependent reload * special case where a
42+ super-sticky dependent module fails to reload (during the load phase)
3943
4044.. note :: Use of ``continue`` Tcl command in modulefile shortens evaluation
4145 but it is not considered an error.
@@ -123,6 +127,12 @@ configuration options are set to a given value.
123127+---------------------+------------+-------------------------------+
124128| super-sticky unload | unload | |
125129+---------------------+------------+-------------------------------+
130+ | dependent sticky | load | |
131+ | reload | | |
132+ +---------------------+------------+-------------------------------+
133+ | dependent | load | |
134+ | super-sticky reload | | |
135+ +---------------------+------------+-------------------------------+
126136
127137When evaluation mode and/or configuration option matches for these error kinds
128138to raise, a :ref: `default error behavior<default> ` error behavior is applied.
@@ -142,6 +152,7 @@ following errors:
142152* conflict
143153* missing requirement
144154* dependent reload
155+ * dependent sticky reload
145156
146157Following behavior is observed:
147158
@@ -160,6 +171,12 @@ nonexistent modulefile.
160171``abort_on_error `` configuration option is ignored when ``--force `` option is
161172in use. Which means *continue on error * behavior is applied.
162173
174+ *Abort on error * behavior is applied whatever the value of
175+ :mconfig: `abort_on_error ` if following kind of error occurs:
176+
177+ * dependent sticky reload and force mode is disabled.
178+ * dependent super-sticky reload
179+
163180Multiple modulefiles passed as argument
164181^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
165182
@@ -299,6 +316,12 @@ force mode is enabled or if reload is removed from :mconfig:`abort_on_error`
299316configuration option (where it is enabled by default). In this case, a
300317*continue on error * behavior is applied.
301318
319+ *Abort on error * behavior is applied whatever the value of
320+ :mconfig: `abort_on_error ` if:
321+
322+ * a sticky module is not able to reload and force mode is disabled.
323+ * a super-sticky module is not able to reload
324+
302325Prior running evaluations, dependencies of loaded modules are checked. If at
303326least one dependency (requirement or conflict) is not satisfied, an error is
304327raised.
@@ -332,6 +355,7 @@ following errors:
332355* dependent reload
333356* unloading dependent
334357* sticky unload
358+ * dependent sticky reload
335359
336360Following behavior is observed:
337361
@@ -345,6 +369,12 @@ it from user's loaded environment.
345369``abort_on_error `` configuration option is ignored when ``--force `` option is
346370in use. Which means *continue on error * behavior is applied.
347371
372+ *Abort on error * behavior is applied whatever the value of
373+ :mconfig: `abort_on_error ` if following kind of error occurs:
374+
375+ * dependent sticky reload and force mode is disabled.
376+ * dependent super-sticky reload
377+
348378Multiple modulefiles passed as argument
349379^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
350380
0 commit comments