When you delete a version of an attachment attached to a page, any labels added to the page will be automatically removed.
This only happens when an attachment has multiple versions and you remove one of them, leaving at least one version of the attachment still attached to the page.
If you remove an attachment with only 1 version, the bug doesn't occur.
- Create a new page.
- Add an attachment to the page.
- Add labels to the page and save it.
- Navigate to ... > Attachments and add a 2nd version of the same attachment.
- Remove any 1 of the 2 attachment versions.
- Go back to the page.
The labels should still be intact on the page.
All labels for that page are missing.
Currently there is no known workaround for this behaviour. A workaround will be added here when available.
We suggest sticking with our latest Long Term Support (LTS) Release - Confluence 7.4.4, which is not affected by this bug.