Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1176

If no client apps exist, publishing an API allows linking to client app & throws error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.2.7.Final, 1.2.x
    • 1.2.x
    • Management UI
    • None
    • Hide

      1. Create an organization, then a plan.
      2. Lock the plan.
      3. Create an API.
      4. Publish the API.
      5. Do NOT create client apps.
      6. You'll see a link to create a link / contract with a client app anyway. If you proceed to click it, an error in the browser console will be thrown and the dropdown for the client app will not be visible.

      Show
      1. Create an organization, then a plan. 2. Lock the plan. 3. Create an API. 4. Publish the API. 5. Do NOT create client apps. 6. You'll see a link to create a link / contract with a client app anyway. If you proceed to click it, an error in the browser console will be thrown and the dropdown for the client app will not be visible.

    Description

      If you create an organization, a plan (lock it), an API, and then publish it without having ANY client apps, you are then able to see the link in the API page where you can link a client app to it. If you click it, since there are no client apps, you get an error in the browser console and the dropdown for client apps is not there. You should not be able to see the link to link a client app / create a contract at all unless client apps exist.

      Attachments

        Activity

          People

            ewittman@redhat.com Eric Wittmann
            ryordan@redhat.com Rachel Yordán
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: