-
Bug
-
Resolution: Fixed
-
Medium
-
Severity 3 - Minor
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Summary
Attachments which have been deleted from a Confluence Page are still searchable after a Content Index is performed
Environment
- Confluence Cloud version 6.0.0-OD-2016.07.2
- Confluence server version 5.9.x and above
Steps to Reproduce
- Add an attachment to a Confluence Page (does not need to be embedded on the page itself)
- Search for the Attachment using the Filename of the Attachment; it should display in the Search Results
- Delete the Attachment
- Search again for the Attachment; should not display in the Search Results
- Perform a task which triggers a Content Index (Move Pages, Create Space, etc) or as SysAdmin, manually trigger a Content Re-Index
Expected Results
Deleted attachment does not return in search results
Actual Results
- Deleted Attachment is shown in search results however when clicked displays a file not found error:
- In some versions, deleted Attachments are able to be viewed like normal attachment
- The attachment also reappeared in the Space Attachment list by going to Space Tools > Content Tools > Attachments
Database shows that the Attachment has been deleted:
confluence=> select contentid, contenttype, title, content_status from content where title like '%ExampleAttachment%'; contentid | contenttype | title | content_status -----------+-------------+-------------------------+---------------- 5046279 | ATTACHMENT | 1.ExampleAttachment.png | deleted 5046280 | ATTACHMENT | 2.ExampleAttachment.png | deleted (2 rows)
Notes
- Rebuilding Cache does not seem to correct the issue
- Reindexing from scratch does not seem to correct the issue either
Workaround
- Delete the attachment from the trash by going to Space Tool > Content Tools > Trash > choose the deleted attachments > Delete
- Purge the trash by going to Space Tool > Content Tools > Trash > purge
- is related to
-
CONFSERVER-40833 Deleted Pages, Blogpost and Attachments Returning in Confluence Search Results
-
- Closed
-
[AI-410] [Backend] Deleted Attachments Returning in Confluence Search Results
Sprint | Original: Hey Micky you're so fine [ 5218 ] |
Component/s | Original: Search - Core [ 46383 ] | |
Component/s | New: Search - Core [ 75296 ] | |
Key |
Original:
|
New:
|
Support reference count | Original: 17 | |
Affects Version/s | Original: 1000.444.0 [ 68415 ] | |
Affects Version/s | Original: 6.0.0-beta7 [ 68324 ] | |
Affects Version/s | Original: 5.10.7 [ 68288 ] | |
Affects Version/s | Original: 5.9.12 [ 68068 ] | |
Affects Version/s | Original: 6.0.0-OD-2016.07.1-0002 [ 67978 ] | |
Affects Version/s | Original: 5.8.15 [ 67883 ] | |
Project | Original: Confluence Cloud [ 18513 ] | New: Atlassian Intelligence [ 23110 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2364476 ] | New: JAC Bug Workflow v3 [ 3430044 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Awaiting Release [ 11372 ] | New: Resolved [ 5 ] |
Status | Original: Awaiting Merge [ 10064 ] | New: Awaiting Release [ 11372 ] |
Status | Original: Technical Review [ 10028 ] | New: Awaiting Merge [ 10064 ] |
Status | Original: In Progress [ 3 ] | New: Technical Review [ 10028 ] |
Remote Link |
New:
This issue links to "Confluence Build › Main Build › issue- |
Remote Link |
New:
This issue links to "Release Required › Linting, Unit Tests and Coverage › issue- |
Hi this does not appear to be resolved - we are still able to see deleted documents when searching in spaces. Please fix this.