Code path is not updated if no module is loaded in the appup
Paul Guyot
pguyot@REDACTED
Fri May 21 10:37:07 CEST 2010
Hello,
With R13B04 (and earlier), we noticed that the code path is not updated when installing a release if no module is to be added/deleted/reloaded in the .appup file. This is a problem as the release can consist in an update to non-code files, such as MIBs, resources in priv directory, etc.
For example, if the appup is the following:
{"16",
[{"15",
[
]}
],
[{"15",
[
]}
]
}.
The generated relup is the following:
{"802",[{"801",[],[point_of_no_return]}],[{"801",[],[point_of_no_return]}]}.
application:which_applications returns that the application version "16" is installed and running. However, code:priv_dir and code:get_path refers to version "15" of the application.
Regards,
Paul
More information about the erlang-bugs
mailing list