Uploaded image for project: 'release-testing'
  1. release-testing
  2. REL-29

App Manager should show & install correct App versions from App Store

    Details

    • Type: Task
    • Status: Fix Requested (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      This task tests App installation workflow. It checks that IGB App Manager shows the correct App version for the IGB platform.

      Setup - IGB platform:

      Setup - App Store:

      • Log in to an IGB App Store instance. (Can use a local installation.)
      • On your local machine, unpack the jar files and read the MANIFEST.mf files. Make a note of which IGB version each App is compatible with.

      Test:

      1. Launch IGB mock release version 9.1.0
      2. Add the App Store as a new App repository
      3. Open App Manager.

      Observe: The highest version of uploaded App compatible with IGB 9.1.0 is visible.

      1. Install and run it.

      Observe: the version that was run matches the version shown in App Manager in previous step.

      1. Quit mock IGB 9.1.0
      2. Launch mock IGB 9.2.0
      3. Repeat above steps

      Observe: The highest version of uploaded App compatible with mock IGB 10.0.0 is visible and is actually run.

      1. Quit mock IGB 9.1.0
      2. Launch mock IGB 10.0.0
      3. Repeat above steps.

      Observe: The highest version of uploaded App compatible with mock IGB 10.0.0 is visible and is actually run.

        Attachments

          Issue Links

            Activity

            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited

            Tested the ticket and performed the following:
            1) Installed each IGB releases individually starting from 9.1.0 to 10.0.0
            2) Uploaded all the versions of app on App Store from lower to higher order, and added the App store as a new repository to each of the IGB-release versions.
            3) Observed the version of the app "App for testing app workflow" in each of the IGB releases and verified with the MANIFEST.MF files to check if highest version compatible is available for installation. While doing this, I observed that in App Description in Manage Repositories, 2 lines describing that the app is of version 1.0.0 are displayed, even if the app is of a higher version. This creates a confusion in understanding the actual version of app available for installation. The statements displayed are as follows:
            "App version is: 1.0.0
            Works with IGB platform version: [9.1.0,10.0.0)"
            These statements are visible for all 3 cases with the app version displayed as 1.0.0 even when app installed is 2.0.0 or 3.0.0.
            Kindly refer to the screenshots attached.

            The observations are as follows:
            1) For IGB 9.1.0, the app version available for installation is 2.0.0, and the message displayed after clicking the menu entry shows version 2.0.0
            2) For IGB 9.2.0, the app version available for installation is 2.0.0, and the message displayed after clicking the menu entry shows version 2.0.0
            3) For IGB 10.0.0, the app version available for installation is 3.0.0, and the message displayed after clicking the menu entry shows version 3.0.0

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited Tested the ticket and performed the following: 1) Installed each IGB releases individually starting from 9.1.0 to 10.0.0 2) Uploaded all the versions of app on App Store from lower to higher order, and added the App store as a new repository to each of the IGB-release versions. 3) Observed the version of the app "App for testing app workflow" in each of the IGB releases and verified with the MANIFEST.MF files to check if highest version compatible is available for installation. While doing this, I observed that in App Description in Manage Repositories, 2 lines describing that the app is of version 1.0.0 are displayed, even if the app is of a higher version. This creates a confusion in understanding the actual version of app available for installation. The statements displayed are as follows: "App version is: 1.0.0 Works with IGB platform version: [9.1.0,10.0.0)" These statements are visible for all 3 cases with the app version displayed as 1.0.0 even when app installed is 2.0.0 or 3.0.0. Kindly refer to the screenshots attached. The observations are as follows: 1) For IGB 9.1.0, the app version available for installation is 2.0.0, and the message displayed after clicking the menu entry shows version 2.0.0 2) For IGB 9.2.0, the app version available for installation is 2.0.0, and the message displayed after clicking the menu entry shows version 2.0.0 3) For IGB 10.0.0, the app version available for installation is 3.0.0, and the message displayed after clicking the menu entry shows version 3.0.0
            Hide
            ann.loraine Ann Loraine added a comment -

            Thanks for noticing this.
            Please can you check the code - I may have forgotten to update the actual java code for the various branches.
            Note that each version of the App has its own special branch.

            Show
            ann.loraine Ann Loraine added a comment - Thanks for noticing this. Please can you check the code - I may have forgotten to update the actual java code for the various branches. Note that each version of the App has its own special branch.
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited

            I checked the AppDescription.md for each branches and they have the correct versions mentioned in them. I also decoded the base-64 description in each of the repository.xml in app jars and they also have the correct versions mentioned. I am not sure why the version displayed in Manage Repositories is static to 1.0.0. The java code seems to be fine since the message displayed in dialog box is correct for every version. Will dig into it to find the issue.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - - edited I checked the AppDescription.md for each branches and they have the correct versions mentioned in them. I also decoded the base-64 description in each of the repository.xml in app jars and they also have the correct versions mentioned. I am not sure why the version displayed in Manage Repositories is static to 1.0.0. The java code seems to be fine since the message displayed in dialog box is correct for every version. Will dig into it to find the issue.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Thank you Shamika Gajanan Kulkarni!
            Looks like you have discovered a bug in the App Store code or App Manager. The repository.xml is not being properly handled somehow.
            For the next steps, do please create a new JIRA ticket on the IGB board. No need to go into a lot of detail - you can just mention this ticket briefly. Please the JIRA ticket into the To-Do column and please add to the current sprint. Then you can move REL-29 to "Fix Requested" and un-assign it.

            Show
            ann.loraine Ann Loraine added a comment - - edited Thank you Shamika Gajanan Kulkarni ! Looks like you have discovered a bug in the App Store code or App Manager. The repository.xml is not being properly handled somehow. For the next steps, do please create a new JIRA ticket on the IGB board. No need to go into a lot of detail - you can just mention this ticket briefly. Please the JIRA ticket into the To-Do column and please add to the current sprint. Then you can move REL-29 to "Fix Requested" and un-assign it.
            Hide
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment -

            Yes will do it. Thank you.

            Show
            shamika Shamika Gajanan Kulkarni (Inactive) added a comment - Yes will do it. Thank you.

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: