-
Bug
-
Resolution: Fixed
-
Low
-
7.0.1
-
2
-
Severity 3 - Minor
-
4
-
Issue Summary
Plugins that implement com.atlassian.confluence.plugins.index.api.Extractor2 that does not index the attachment but returns a non-null value (e.g. empty StringBuilder()) from extractText() method will cause file attachments not to be indexed in search as a side effect.
Following plugins seem to be causing this effect:
- Comala Workflows
- ConfiForms
- LucidChart OnPrem
- Questions for Confluence
Steps to Reproduce
- Install Questions for Confluence
- Attach a text file to any page
- Search a word contained in the text file
Expected Results
Attachment text file is found using search.
Actual Results
Text file is not indexed and not found.
The below messages can be found confluence log if debug logging for com.atlassian.bonnie.search.extractor is enabled when the files are correctly indexed but not when the indexing is skipped:
2020-10-15 15:14:20,630 DEBUG [Caesium-1-2] [bonnie.search.extractor.BaseAttachmentContentExtractor] addFields Starting to index attachment: sample.txt
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
[CONFSERVER-60441] Attachment may inadvertently not be indexed for search if an Extractor2 is used in one of the enabled plugins
Status | Original: Closed [ 6 ] | New: Closed [ 6 ] |
Fixed in Long Term Support Release/s | New: [Download 7.4|https://confluence.atlassian.com/enterprise/atlassian-enterprise-releases-948227420.html] |
Fix Version/s | New: 7.4.17 [ 100200 ] |
Link | New: This issue was cloned as CONFSERVER-78049 [ CONFSERVER-78049 ] |
Remote Link | Original: This issue links to "Page (Confluence)" [ 522446 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 522446 ] |
Remote Link | New: This issue links to "PSR-531 (JIRA Server (Bulldog))" [ 521402 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
A fix for this issue is available in Confluence Server and Data Center 7.4.16.
Upgrade now or check out the Release Notes to see what other issues are resolved.