Description of problem: How reproducible: Always Steps to Reproduce: When trying to call a method through a relationship using the METHOD:: statement and a full path to the method, eg. METHOD::/NameSpace/Class/Method, it raises an exception: Actual results: invalid method calling syntax: [METHOD::/NameSpace/Class/Method Expected results: Extend the full path and call the method. Additional info:
https://github.com/ManageIQ/manageiq/pull/10089
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/af97109fda776aeb324ef895ec661702263249f9 commit af97109fda776aeb324ef895ec661702263249f9 Author: Tina Fitzgerald <tfitzger> AuthorDate: Wed Jul 27 11:29:07 2016 -0400 Commit: Tina Fitzgerald <tfitzger> CommitDate: Wed Jul 27 12:51:16 2016 -0400 Fixed issue for automate class methods that addresses issue using METHOD:: syntax and on_entry, on_exit and on_error methods. https://bugzilla.redhat.com/show_bug.cgi?id=1359813 lib/miq_automation_engine/engine/miq_ae_object.rb | 5 ++- .../miq_ae_state_machine_spec.rb | 36 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 3 deletions(-)
Verified in 5.7.0.0 METHOD::/ns/Class.methodname works in the states /ns/Class.methodname works in the on_*