When there is a command execution inside another command (i.e FileGetCommand), the context of the outer side command will be used as the command executer, instead of JCRCMS.
but to call the interceptor stack is not implemented in JCRCommandContext.execute
So i.e. one calls FileGetCommand, the interceptor stack will be called for this command, but not for the ContentGetCommand, which will be executed inside FileGetCommand.execute.
I think this behavior is not straight forward and should be changed. What do you think?
it's possible, what would it bring to do that ?
did you try to modify the code and run the testsuite to see what it breaks or not ?