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

Nginx Filter policy UI - unchecked boolean field is not False by default

    XMLWordPrintable

Details

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined
    • Hide

      Add the Nginx Filter policy.
      Add a Header to filter.
      Leave the append header to upstream blank.
      Update the policy.

      Show
      Add the Nginx Filter policy. Add a Header to filter. Leave the append header to upstream blank. Update the policy.

    Description

      When setting up the Nginx Filter policy in the UI, and adding a header to filter leaving the "Append header to upstream" checkbox unchecked, the error headers[0].append is a required property is shown. After checking and unchecking the box does the error disappear.
      This behavior seems to be caused by a missing default value in the json schema.

      Attachments

        Activity

          People

            Unassigned Unassigned
            drajnoha@redhat.com David Rajnoha (Inactive)
            Dominik Hlavac Duran Dominik Hlavac Duran
            Samuele Illuminati Samuele Illuminati (Inactive)
            Eloy Coto Eloy Coto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: