in2code-de / in2publish_core

in2publish Community Version
https://www.in2code.de/produkte/content-publisher/
GNU General Public License v3.0
40 stars 23 forks source link

[BUG] remote CLI commands might not be specific enough (e.g. if same command controller and name in other ext) #42

Closed AndreasA closed 7 years ago

AndreasA commented 7 years ago

Remote commands are currently executed, e.g. during the test using status:all However, that way it doesn't include the extension information and if there are multiple command contollers with the same name and has the same command name method, e.g. the StatusCommandController with the method allCommand then when clicking on "Tests" in "Publish Tools" it will fail with:

The installed version of in2publish_core on the foreign system is not detectable.
The call to the dispatcher returned following message:
More than one command matches the command identifier "status:all"
Please specify the complete command identifier. Matched commands:
foo:status:all
in2publish_core:status:all

However, it should always be possible to append in2publish_core: or for the command controllers of the paid version in2publish: