Uploaded image for project: 'ZZZ-WSO2 App Manager'
  1. ZZZ-WSO2 App Manager
  2. APPM-1198

Resource forbidden error when the user has already subscribed to the app

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      All datasources pointed to MySQL
      wso2appm-1.1.0-SNAPSHOT-16-12-2015
      JDK 1.7
      Ubuntu 13.04

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      A Resource forbidden error can can be observed on store when trying to access the gateway URL of a web app even when the user is already subscribed to it.
      This occurs usually when the another user subscribes, unsubscribes and re-subscribes from the app.

      A subscription can be seen in the APM_SUBSCRIPTION table for the relevant user and the app.

      <ams:fault>
      <ams:code>900908</ams:code>
      <ams:message>Resource forbidden </ams:message>
      <ams:description>You have not subscribed to this application</ams:description>
      </ams:fault>

      This is continuously reproducible for migrated apps.

        Attachments

          Activity

            People

            • Assignee:
              dinusha@wso2.com Dinusha Dilrukshi
              Reporter:
              asanthi@wso2.com Asanthi Kulasinghe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: