Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-73

Using "active" instead of "isActive" to perform a license check on Forge UI Kit 1 applications fails

    • Severity 3 - Minor
    • Hide

      We plan to revert the documentation change, so that application developers are not asked to modify the licence checks on Forge UI Kit 1 applications

      Show
      We plan to revert the documentation change, so that application developers are not asked to modify the licence checks on Forge UI Kit 1 applications

      Issue Summary

      This is reproducible on Data Center: No

      Steps to Reproduce

      1. Following documentation guidance update a Forge UI Kit 1 app to use "active" instead of "isActive" to perform license check
      2. Deploy new version of application

      For example the problem occurs when changing a license check as follows:

      if (context.license?.isActive === true)

      to be

      if (context.license?.active === true)

      Expected Results

      Licence check works

      Actual Results

      Licence check fails

      Workaround

      Do not make the recommended change, continue to use isActive.

            [ECO-73] Using "active" instead of "isActive" to perform a license check on Forge UI Kit 1 applications fails

            Dave made changes -
            Link New: This issue is related to ECO-70 [ ECO-70 ]
            Dave made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Closed [ 6 ]
            Dave made changes -
            Remote Link Original: This issue links to "EXT-1497 (Jira)" [ 830871 ] New: This issue links to "EXT-1497 (Ecosystem Platform)" [ 830871 ]
            Dave made changes -
            Remote Link New: This issue links to "EXT-1497 (Jira)" [ 830871 ]
            Dave made changes -
            Labels New: ecosystem forge
            Dave made changes -
            Priority Original: High [ 2 ] New: Low [ 4 ]
            Dave made changes -
            Remote Link Original: This issue links to "EXT-1464 (Jira)" [ 825550 ] New: This issue links to "EXT-1464 (Ecosystem Platform)" [ 825550 ]
            Dave made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: No
            h3. Steps to Reproduce
             # Following documentation guidance update a Forge UI Kit 1 app to use "active" instead of "isActive" to perform license check
             # Deploy new version of application

            For example the problem occurs when changing a license check as follows:



            {{if (context.license?.isActive === true)}}

            to be

            {{if (context.license?.active === true)}}
            h3. Expected Results

            Licence check works
            h3. Actual Results

            Licence check fails
            h3. Workaround

            Do not make the recommended change, continue to use active.
            New: h3. Issue Summary

            This is reproducible on Data Center: No
            h3. Steps to Reproduce
             # Following documentation guidance update a Forge UI Kit 1 app to use "active" instead of "isActive" to perform license check
             # Deploy new version of application

            For example the problem occurs when changing a license check as follows:

            {{if (context.license?.isActive === true)}}

            to be

            {{if (context.license?.active === true)}}
            h3. Expected Results

            Licence check works
            h3. Actual Results

            Licence check fails
            h3. Workaround

            Do not make the recommended change, continue to use isActive.
            Dave made changes -
            Remote Link New: This issue links to "EXT-1464 (Jira)" [ 825550 ]
            Dave made changes -
            Description Original: h3. Issue Summary

            This is reproducible on Data Center: No
            h3. Steps to Reproduce
             # Following documentation guidance update a Forge UI Kit 1 app to use "active" instead of "isActive" to perform license check
             # Deploy new version of application

            For example:
            Changing a line:

            {{if (context.license?.active === true)}}

            to be

            {{if (context.license?.isActive === true)}}
            h3. Expected Results

            Licence check works
            h3. Actual Results

            Licence check fails
            h3. Workaround

            Do not make the recommended change, continue to use active.
            New: h3. Issue Summary

            This is reproducible on Data Center: No
            h3. Steps to Reproduce
             # Following documentation guidance update a Forge UI Kit 1 app to use "active" instead of "isActive" to perform license check
             # Deploy new version of application

            For example the problem occurs when changing a license check as follows:



            {{if (context.license?.isActive === true)}}

            to be

            {{if (context.license?.active === true)}}
            h3. Expected Results

            Licence check works
            h3. Actual Results

            Licence check fails
            h3. Workaround

            Do not make the recommended change, continue to use active.

              f4f68395d19c Quoc Lieu
              ddraper@atlassian.com Dave
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: