I have not seen anyone else create this and report it as a bug so I am.
If this is a duplicite I'm sorry.
I was in my minecraft hardcore world and I notice my sword dropped on accendent and I notice it showed itself as a regular diamond sword when it was enchanted.
Don't know if this was just my world at that time or what just wanted to let you guys know.
Linked issues
Attachments
Comments

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-186108.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki