Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54151

Team calendar enabled by default results in error

    XMLWordPrintable

Details

    Description

      When a user creates an instance that contains Confluence in OnDemand (without choosing the ‘Team Calendar’ add-on), the instance is created and Team Calendar is enabled by defauld. A license error happens, since the add-on is enabled and there is not license.
      The image below shows the error:

      It reads: Invalid license specified

      When going to the management of add-ons, the add on is enabled (the button ‘disable’ is there), but the user also has the option to start a free trial, as shown below:

      The following error appears in the logs:

      @40000000540712b137b1ca24 com.atlassian.license.LicenseException: License string or hash are null.
      @40000000540712b137b1ca24       at com.atlassian.license.LicensePair.<init>(LicensePair.java:73)
      @40000000540712b137b1ed4c       at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.getProductLicenseString(LicenseAccessor.java:271)
      @40000000540712b137b1ed4c       at com.atlassian.confluence.extra.calendar3.license.LicenseAccessor.isOnDemandLicense(LicenseAccessor.java:220)
      @40000000540712b137b1f134       at com.atlassian.confluence.extra.calendar3.condition.OnDemandWebItemCondition.shouldDisplay(OnDemandWebItemCondition.java:19)
      @40000000540712b137b1f904       at com.atlassian.confluence.extra.calendar3.condition.CalendarCondition.shouldDisplay(CalendarCondition.java:21)
      @40000000540712b137b1fcec       at com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition.shouldDisplay(BaseConfluenceCondition.java:38)
      @40000000540712b137b20c8c       at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14)
      @40000000540712b137b20c8c       at com.atlassian.plugin.web.conditions.AndCompositeCondition.shouldDisplay(AndCompositeCondition.java:14)
      @40000000540712b137b21074       at com.atlassian.plugin.web.DefaultWebInterfaceManager.filterFragmentsByCondition(DefaultWebInterfaceManager.java:172)
      @40000000540712b137b21844       at com.atlassian.plugin.web.DefaultWebInterfaceManager.getDisplayableItems(DefaultWebInterfaceManager.java:103)
      @40000000540712b137b21c2c       at com.atlassian.confluence.plugin.descriptor.web.ConfluenceWebInterfaceManager.getDisplayableItems(ConfluenceWebInterfaceManager.java:88)
      @40000000540712b137b21c2c       at sun.reflect.GeneratedMethodAccessor2934.invoke(Unknown Source)
      @40000000540712b137b223fc       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      @40000000540712b137b223fc       at java.lang.reflect.Method.invoke(Method.java:597)
      …
      

      Steps to reproduce

      • Create a Confluence instance in OnDemand without Team Calendar
      • Access it and ‘Team Calendar’ will be there
      • Click ‘Calendar’ and the error occurs

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsilveira Jaime S
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: