Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40782

Disabling the Confluence Mobile Plugin also disables the Workbox - Host Plugin in Confluence

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 5.9.2, 5.9.3, 5.9.4, 6.0.0-OD-2016.06.1, 5.10.7, 6.0.1, 6.3.4, 6.4.2, 6.10.1, 6.11.2, 6.12.2, 7.10.1, 7.13.2, 7.19.6, 9.2.0, 9.2.1, 9.3.1
    • Mobile

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      Disabling the Confluence Mobile Plugin also disables the Workbox - Host Plugin in Confluence 5.9.X. The same behavior is not present in Confluence 5.8.X.
      This also affects Confluence 6.X release. On Confluence 6.1X this is caused when disabling Confluence Mobile Web Plugin.

      Steps to Reproduce

      1. Go to Manage Add-ons in a Confluence 5.9.x instance
      2. Find the 'Confluence Mobile Plugin'
        • In more recent versions, this is caused by the Confluence Mobile Web Plugin
      3. Disable the plugin
      4. Refresh the page
      5. Find the 'Workbox - Host Plugin' and notice it is also disabled

      Expected Results

      • The 2 add-ons should not be dependent on each other. 

      Actual Results

      The below exception is thrown in the Confluence logs:

      2016-02-15 10:27:18,091 INFO [http-nio-127.0.0.101-8080-exec-2] [atlassian.plugin.manager.DefaultPluginManager] disablePlugins Found dependent enabled plugins for plugin 'com.atlassian.confluence.plugins.confluence-mobile': [com.atlassian.mywork.mywork-confluence-host-plugin(MANDATORY)].  Disabling...
      2016-02-15 10:27:18,092 INFO [http-nio-127.0.0.101-8080-exec-2] [atlassian.plugin.manager.DefaultPluginManager] broadcastPluginDisabling Disabling com.atlassian.mywork.mywork-confluence-host-plugin
      

      NOTES / Workaround:

      Additional side effect:

      • Disabling - Confluence Mobile Plugin
        • Causes - Workbox - Host Plugin to become disable
      • Disabling - Workbox - Host Plugin
        • Causes - Confluence Mobile Rest to become disabled
      • Disabling: Confluence Mobile Rest
        • Causes - Workbox - Confluence Provider Plugin To become disabled

      You must have the add-ons enable in the following order to re-enable (Relates to This Article about enabling the Workbox Plugin ):

      • Confluence Mobile Plugin
      • Workbox - Common Plugin (If disable / did not chain disable in testing)
      • Workbox - Confluence Provider Plugin
      • Workbox - Host Plugin
      • Confluence Mobile Rest

      Restart Confluence, flushing caches as described here (For Cloud this will require filing a support request at https://support.atlassian.com)

      • Manually Trigger a content-index at this point, or the spaces will not be visable
      • Note that if you take the SQL route in the document above, only remove the following 2 bandanavalue's unless there are other system plugins you also want to re-enable:
          <entry>
            <string>com.atlassian.mywork.mywork-confluence-provider-plugin</string>
            <boolean>false</boolean>
          </entry>
          <entry>
            <string>com.atlassian.mywork.mywork-confluence-host-plugin</string>
            <boolean>false</boolean>
          </entry>
        

            [CONFSERVER-40782] Disabling the Confluence Mobile Plugin also disables the Workbox - Host Plugin in Confluence

            Achim added a comment -

            Still happening in 7.19.6 and subsequently crashing handy macros!

            Achim added a comment - Still happening in 7.19.6 and subsequently crashing handy macros!

            Still in 7.13.7

            Vesa Koivisto added a comment - Still in 7.13.7

            Miro added a comment -

            +1

            7.13.2

            Miro added a comment - +1 7.13.2

            https://confluence.atlassian.com/confkb/how-to-enable-or-disable-access-to-the-confluence-data-center-and-server-mobile-app-945547311.html

            So I see this and wonder, has the issue been resolved, can the Mobile Plugin be safely turned off now?

            Patrik Sanfridsson added a comment - https://confluence.atlassian.com/confkb/how-to-enable-or-disable-access-to-the-confluence-data-center-and-server-mobile-app-945547311.html So I see this and wonder, has the issue been resolved, can the Mobile Plugin be safely turned off now?

            Alexander added a comment -

            Still in 7.10.2.

            We had problem to enable Handy Macros.

            Alexander added a comment - Still in 7.10.2. We had problem to enable Handy Macros.

            Still in 7.4.8

            Konstantin Brand added a comment - Still in 7.4.8

            mbeda thanks for your workaround / hint to deactivate just single modules in that plugin.   Looks like it's working for us. (Confluence 6.15)

            Florian Zöllner [Communardo] added a comment - mbeda  thanks for your workaround / hint to deactivate just single modules in that plugin.    Looks like it's working for us. (Confluence 6.15)

            Still in 7.2.

            Andre Lehmann [demicon] added a comment - Still in 7.2.

            Manuel Bähnisch added a comment - - edited

            6.15.10 is also affected. In my case it seems, that once the workbox plugin is disabled also mail notifications seem no to work properly. The log is full of lines like the following and notification mails are sent only about 50 % of the times:

            2020-05-19 21:32:19,268 WARN [pool-13-thread-3] [atlassian.confluence.event.MonitorableCallerRunsPolicy] rejectedExecution Queue Overflow happened: Runnable: [Invoker: SingleParameterMethodListenerInvoker\{method=public void com.atlassian.confluence.notifications.impl.NotificationsEventDispatcher.handleEvent(java.lang.Object), listener=com.atlassian.confluence.notifications.impl.NotificationsEventDispatcher@6e79e6a0} (timed); Event: com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetricsAnalyticsEvent@61100178]; Executor: [java.util.concurrent.ThreadPoolExecutor@6cf5dd1f[Running, pool size = 1, active threads = 1, queued tasks = 192, completed tasks = 10810202]

            Manuel Bähnisch added a comment - - edited 6.15.10 is also affected. In my case it seems, that once the workbox plugin is disabled also mail notifications seem no to work properly. The log is full of lines like the following and notification mails are sent only about 50 % of the times: 2020-05-19 21:32:19,268 WARN [pool-13-thread-3] [atlassian.confluence.event.MonitorableCallerRunsPolicy] rejectedExecution Queue Overflow happened: Runnable: [Invoker: SingleParameterMethodListenerInvoker\{method=public void com.atlassian.confluence.notifications.impl.NotificationsEventDispatcher.handleEvent(java.lang.Object), listener=com.atlassian.confluence.notifications.impl.NotificationsEventDispatcher@6e79e6a0} (timed); Event: com.atlassian.confluence.impl.content.render.xhtml.analytics.MarshallerMetricsAnalyticsEvent@61100178] ; Executor: [java.util.concurrent.ThreadPoolExecutor@6cf5dd1f [Running, pool size = 1, active threads = 1, queued tasks = 192, completed tasks = 10810202] ] 

            I'm so so lost im not to sure what's going on I really don't understand because I have problems and learning disability

            Joshua Warren added a comment - I'm so so lost im not to sure what's going on I really don't understand because I have problems and learning disability

            Please open confluence

            biplabbarmon59 added a comment - Please open confluence

            +1 Confluence Server 6.15.6

            Vittoria Oliva added a comment - +1 Confluence Server 6.15.6

            Sharing the knowledge for app developers on how to make the dependency not so strict/strong

            Thanks to Efim for helping on this: https://bitbucket.org/egraev/connie-plugin-dynamic-imports/src/master/

            Alex Medved {ConfiForms} added a comment - Sharing the knowledge for app developers on how to make the dependency not so strict/strong Thanks to Efim for helping on this: https://bitbucket.org/egraev/connie-plugin-dynamic-imports/src/master/

            Matthew Beda added a comment - - edited

            Currently I am Testing a work around. Basically not disabling the whole plugin just the "Mobile Page View Redirect Filter" module of the plugin. so far it seems to be working to not trigger the mobile render switch of the plugin and it does not seem to be triggering the workbox to disable.

             

            --Update Running Confluence 6.9

            Disabled Confluence Mobile Plugin

            - all modules

            Disabled Confluence Mobile Web Plugin (modules as follows)

            - Mobile Page View Redirect Filter

            - Mobile Dashboard Redirect Filter

            - Mobile User Profile Redirect Filter

             

            Matthew Beda added a comment - - edited Currently I am Testing a work around. Basically not disabling the whole plugin just the "Mobile Page View Redirect Filter" module of the plugin. so far it seems to be working to not trigger the mobile render switch of the plugin and it does not seem to be triggering the workbox to disable.   --Update Running Confluence 6.9 Disabled Confluence Mobile Plugin - all modules Disabled Confluence Mobile Web Plugin (modules as follows) - Mobile Page View Redirect Filter - Mobile Dashboard Redirect Filter - Mobile User Profile Redirect Filter  

            Yes, ConfiForms has a strong dependency on Workbox

            <dependency>
                        <groupId>com.atlassian.mywork</groupId>
                        <artifactId>mywork-api</artifactId>
                        <version>1.0.2</version>
                        <scope>provided</scope>
                    </dependency>
            

            And components injection for

            com.atlassian.mywork.service.LocalNotificationService
            com.atlassian.mywork.service.LocalTaskService

            happens through "component-import" in atlassian-plugin.xml

            We would love to change that and remove this strong dependency. Probably, with some OSGI voodoo via "DynamicImport-Package" or something...

            Anyone can help on this?

            Alex Medved {ConfiForms} added a comment - Yes, ConfiForms has a strong dependency on Workbox <dependency> <groupId> com.atlassian.mywork </groupId> <artifactId> mywork-api </artifactId> <version> 1.0.2 </version> <scope> provided </scope> </dependency> And components injection for com.atlassian.mywork.service.LocalNotificationService com.atlassian.mywork.service.LocalTaskService happens through "component-import" in atlassian-plugin.xml We would love to change that and remove this strong dependency. Probably, with some OSGI voodoo via "DynamicImport-Package" or something... Anyone can help on this?

            S Stack added a comment -

             Affected third-party plugin: ConfiForms

            ConfiForms appears to have a dependency on Workbox. After disabling the "Confluence Mobile Plugin", ConfiForms immediately disables itself. It cannot be re-enabled until Workbox is also enabled.

            S Stack added a comment -  Affected third-party plugin: ConfiForms ConfiForms appears to have a dependency on Workbox . After disabling the "Confluence Mobile Plugin", ConfiForms immediately disables itself. It cannot be re-enabled until Workbox is also enabled.

            Atlassian, would you be so kind to update the affected versions?

            Paula Dasch added a comment - Atlassian, would you be so kind to update the affected versions?

            I would assume so, as we still see this problem with 6.12.0.

            Jason Unsworth added a comment - I would assume so, as we still see this problem with 6.12.0.

            is 6.11.2 affected, too?

            Paula Dasch added a comment - is 6.11.2 affected, too?

            Same here in confluence version 6.6.2 also with RefinedTheme plugin.

            Adam Břínek added a comment - Same here in confluence version 6.6.2 also with RefinedTheme plugin.

            Issue

            Guay Guapa added a comment - Issue

            Sam Sapoznick added a comment - - edited

            This bug persists in Confluence Server 6.7.1. I also have the RefinedTheme plugin installed and active. Very annoying as I would like to be able to shut off ALL mobile viewing, it is disorienting to many users.

            Sam Sapoznick added a comment - - edited This bug persists in Confluence Server 6.7.1. I also have the RefinedTheme plugin installed and active. Very annoying as I would like to be able to shut off ALL mobile viewing, it is disorienting to many users.

            Shutting down the system and editing the database to remove

            <entry>
            <string>com.atlassian.mywork.mywork-confluence-host-plugin</string>
            <boolean>false</boolean>
            </entry>

            from the select * from BANDANA where BANDANAKEY='plugin.manager.state.Map'; table seems to let it work again.

            Tom Dickson added a comment - Shutting down the system and editing the database to remove <entry> <string>com.atlassian.mywork.mywork-confluence-host-plugin</string> <boolean>false</boolean> </entry> from the select * from BANDANA where BANDANAKEY='plugin.manager.state.Map'; table seems to let it work again.

            Confirmed this bug still persists in 6.5.2 though the affected plugin for the mobile web interface is now called the 'Confluence Mobile Web Plugin'. 

            This plugin still exhibits the reported behavior of when disabled it also disables the Workbox Host Plugin and vice versa.

            Dylan Stinger added a comment - Confirmed this bug still persists in 6.5.2 though the affected plugin for the mobile web interface is now called the 'Confluence Mobile Web Plugin'.  This plugin still exhibits the reported behavior of when disabled it also disables the Workbox Host Plugin and vice versa.

            Steven T added a comment -

            We are currently on version 5.6.5.  If I diable mobile plugin will it also disable workbox?

            Steven T added a comment - We are currently on version 5.6.5.  If I diable mobile plugin will it also disable workbox?

            also same problem at our site.

            Amagoo Atlassian added a comment - also same problem at our site.

            I've run through the steps in the workaround however I've been unable to get it to work.

            Is there anyway a patch can be released to fix this issue, I really need the ThemePress mobile interface as well as Workbox working.

            Alternatively can Atlassian confirm that the issue is not present in Confluence v5.10?

            Matt Hutchinson added a comment - I've run through the steps in the workaround however I've been unable to get it to work. Is there anyway a patch can be released to fix this issue, I really need the ThemePress mobile interface as well as Workbox working. Alternatively can Atlassian confirm that the issue is not present in Confluence v5.10?

            We also ran into this problem today while upgrading one instance to latest 5.9 version. UI of this Confluence instance is highly customized and we don't want to use the mobile interface. But we would like to keep using the workbox.

            Joni Nousjärvi added a comment - We also ran into this problem today while upgrading one instance to latest 5.9 version. UI of this Confluence instance is highly customized and we don't want to use the mobile interface. But we would like to keep using the workbox.

            This is a big problem for us. Polls for Confluence is no longer working now either. It was working last week with workbox off, but now is giving the same error - that there is a dependency on workbox. Please can this be fixed asap? Please also provide us with an update.

            Michelle Vincent added a comment - This is a big problem for us. Polls for Confluence is no longer working now either. It was working last week with workbox off, but now is giving the same error - that there is a dependency on workbox. Please can this be fixed asap? Please also provide us with an update.

            DavidA added a comment -

            Is there a time frame when this issue can be resolved?

            DavidA added a comment - Is there a time frame when this issue can be resolved?

            This is a very important issue to us. We use Theme Press to create our mobile view, menus, and footers, so we keep Confluence Mobile off. However, that makes the workbox totally disappear. If we turn workbox back on, our Confluence instance is pretty useless on mobile because the view is totally corrupted and all menus are gone.

            Michelle Vincent added a comment - This is a very important issue to us. We use Theme Press to create our mobile view, menus, and footers, so we keep Confluence Mobile off. However, that makes the workbox totally disappear. If we turn workbox back on, our Confluence instance is pretty useless on mobile because the view is totally corrupted and all menus are gone.

            jonah (Inactive) added a comment - - edited

            I reproduced on the latest version. I noticed this log:

            2016-02-16 15:48:27,973 INFO [http-bio-8080-exec-2] [atlassian.plugin.manager.DefaultPluginManager] disablePlugins Found dependent enabled plugins for plugins '[com.atlassian.confluence.plugins.confluence-mobile]': [com.atlassian.mywork.mywork-confluence-host-plugin(MANDATORY)].  Disabling...
            

            It was disabled because confluence believes that the mobile plugin is required for the workbox plugin. I suspect it's incorrect.. I don't see why they should be dependent this way. The dependency may be configured backwards.

            jonah (Inactive) added a comment - - edited I reproduced on the latest version. I noticed this log: 2016-02-16 15:48:27,973 INFO [http-bio-8080-exec-2] [atlassian.plugin.manager.DefaultPluginManager] disablePlugins Found dependent enabled plugins for plugins '[com.atlassian.confluence.plugins.confluence-mobile]' : [com.atlassian.mywork.mywork-confluence-host-plugin(MANDATORY)]. Disabling... It was disabled because confluence believes that the mobile plugin is required for the workbox plugin. I suspect it's incorrect.. I don't see why they should be dependent this way. The dependency may be configured backwards.

              e0cb9aae739a Oleksandr Pavlov
              ajean Andy J.
              Affected customers:
              101 This affects my team
              Watchers:
              79 Start watching this issue

                Created:
                Updated: