Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-3030

Error returned when executing 3scale toolbox command with --hide or --publish for an application plan that is already in the desired state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6 CR1
    • 2.5 GA
    • Toolbox
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      given an application-plan that is 'published', when running

      3scale application-plan apply --enabled --publish <remote> <service> thePublishedApplicationPlan
      

      an error is returned with the message: *Error: Application plan has not been updated. Errors:

      {"state_event"=>["cannot transition when published"]}

      *

      The intent of the command is to describe the final state of the application plan and, therefore, should be successful if the desired state is the same as its current one.

      Note, the same applies for --hide and also to application-plan import.

              eguzki Eguzki Astiz Lezaun
              hviecili@redhat.com Henrique Viecili
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: