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

Maintenance Policy: .condition.operations should NOT have fewer than 1 items

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Gateway
    • None
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • undefined

    Description

      Since implementation of conditions in maintenance mode THREESCALE-6552 some condition is required by UI, the policy can not be updated without that.

       

      This is the behavior of UI only, adding the policy via API works without conditions.

       

      This is kind of regression as UI doesn't allow maintenance mode without definition of extra condition anymore.

       

      Reproducer: Use UI, add product/backend, go to Product->Integration->Policies, click "Add policy", add "Maintenance Mode", click "Update Policy", here it stops. Alternatively click "Red X" to delete "the operation form" and click "Update Policy" to be stopped again.

       

      In previous version steps: click "Add policy", add "Maintenance Mode", click "Update Policy" were working.

       

      Workaround: Add always passing condition e.g. "1 == 1"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mganisin@redhat.com Marian Ganisin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: