-
Bug
-
Resolution: Fixed
-
Medium
-
3.5
-
Managed to reproduced with a plugin using both plugins v1 and v2 frameworks.
The Custom Query mappers modules are not getting loaded once the server is restarted.
This is causing a serious problem in Ad hoc Workflows. The workaround is manually reloading the lucene-query-mapper modules.
Recreating the problem:
- When the plugin containing the lucene-query-mapper modules is installed, no problem, everything works
- When the server is restarted, trying to access the query causes an exception like this one:
com.atlassian.confluence.search.v2.lucene.LuceneMapperNotFoundException: A lucene mapper could not be found to map an object of type: com.atlassian.confluence.search.v2.SearchQuery and key: workflowassignee at com.atlassian.confluence.search.v2.lucene.DelegatingLuceneSearchMapper.convertToLuceneQuery(DelegatingLuceneSearchMapper.java:28) at com.atlassian.confluence.search.v2.lucene.mapper.BooleanQueryMapper.addSubQueries(BooleanQueryMapper.java:43) at com.atlassian.confluence.search.v2.lucene.mapper.BooleanQueryMapper.convertToLuceneQuery(BooleanQueryMapper.java:29) at com.atlassian.confluence.search.v2.lucene.DelegatingLuceneSearchMapper.convertToLuceneQuery(DelegatingLuceneSearchMapper.java:30) at com.comalatech.confluence.workflowreports.TwoPointNineWorkflowReportCreator.debugQuery(TwoPointNineWorkflowReportCreator.java:138) at com.comalatech.confluence.workflowreports.TwoPointNineWorkflowReportCreator.makeEntries(TwoPointNineWorkflowReportCreator.java:131) at com.comalatech.confluence.workflowreports.TwoPointNineWorkflowReportCreator.createDashboardReport(TwoPointNineWorkflowReportCreator.java:78)
Please note that this is a confluence issue, which happens to have an effect in Ad hoc Workflows
[CONFSERVER-22014] lucene-query-mapper plugin modules are not getting loaded properly upon server restart
Workflow | Original: JAC Bug Workflow v3 [ 2893150 ] | New: CONFSERVER Bug Workflow v4 [ 2985117 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2792721 ] | New: JAC Bug Workflow v3 [ 2893150 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2722594 ] | New: JAC Bug Workflow v2 [ 2792721 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392610 ] | New: JAC Bug Workflow [ 2722594 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2274741 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2392610 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231501 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2274741 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190634 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231501 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1924875 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190634 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1733850 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1924875 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1685001 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1733850 ] |