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
    • Resolution: Obsolete
    • Major
    • None
    • None
    • Gateway
    • 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 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: