Tables in Confluence are not sortable
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
User is unable to sort tables in Confluence. The following message appears in the atlassian-confluence.log
Caused by: java.lang.IllegalStateException: Required plugin module com.atlassian.confluence.plugins.confluence-sortable-tables:sortable-table-hooks was either missing or disabled
Diagnosis
The arrow icons are not appearing, check if the Confluence Sortable Table plugin is enabled/disabled in the Manage Apps page. This plugin should be enabled by default.
If the plugin is enabled in the UI, check if this plugin status in the database by running this query:
select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';
Causes
Confluence Sortable Table is disabled.
Resolution 1
To enable the plugin through UI:
- Logging into Confluence as an administrator
- Go to > Manage Apps
- Select All Apps from the drop-down menu
- Search for sortable
- Locate Confluence Sortable Tables and check if all the 5 submodules are enabled. If not, enable all.
Resolution 2
If you can't enable the plugin via UI and it's confirmed that the plugin is disabled in the database, you may enable the plugin in question or all Confluence plugins back to their default state through the database following the instructions in this KB.