-
Bug
-
Resolution: Done
-
Major
-
None
-
2.6 ER1
-
None
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
$ 3scale application-plan apply mkudlej 154 plan1 --approval-required=false --cost-per-month=44 --enabled --end-user-required=false --hide --setup-fee=55 --trial-period-days=66 Error: Application plan has not been created. Errors: {"state_event"=>["cannot transition when hidden"]}
There couple of issues in this command run:
- It is used command "apply" and not "create" so application plan cannot be created because it already exists and I've tried it update only.
- What is the meaning of the error message? Does it mean that user cannot change trial period by same command while he tries to hide app. plan? Does it mean that it is not possible to hide app. plan when trial period is set? So many questions...
- So if any parameters of command have any usage limitations it should be documented in command help message and in documentation.
- If it is possible there should be check if any combination of parameter cannot be used in same command run.
- If 3scale API doesn't return meaningful error message, Toolbox should translate it to human language.