Actions
Bug #24488
closedHelp rendering fails
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Actions
Added by Marek Hulán almost 8 years ago. Updated almost 8 years ago.
The description of the problem is not entirely correct. The resource as an instance method is present. What is actually going on there is that when the resource is missing in API it is set to nil and warning is printed. Later when we are asking for the resource assigned to the command we see the nil and try to ask the parent command which is the MainCommand for the top level commands. The MainCommand is not child of ApipieCommand and has no resource assigned and this is the place where the original error comes from "Error: undefined method `resource' for HammerCLI::MainCommand:Class".
Applied in changeset abcaff4aee5a72785ea58adef70b8a179500adb8.