ipm icon indicating copy to clipboard operation
ipm copied to clipboard

ModuleAction with nonexistent `action` silently passes

Open isc-shuliu opened this issue 11 months ago • 1 comments

When running

<module> <action>

where contains a typo (or something that's neither standard lifecycle nor specified as CustomPhase in module.xml), it doesn't raise any error. We should explicitly check and raise an error message in such cases.

isc-shuliu avatar Jan 16 '25 02:01 isc-shuliu

Phases in the manifest file (i.e. Invoke et al.) should also be covered!

janihur avatar Apr 24 '25 09:04 janihur

Fixed as of v0.10.0

zpm:USER>zpm blah

[USER|ZPM]      Blah START
[ZPM]   Blah FAILURE
ERROR! ObjectScript error: <METHOD DOES NOT EXIST>ExecutePhases+163^%IPM.Storage.Module.1 *%Blah,%IPM.Lifecycle.Module

isc-dchui avatar Oct 06 '25 17:10 isc-dchui