On a very damaged anvil, I tried to combine diamond sword having Smite V and Unbreaking III with Sharpness V enchanted book.
The anvil disappeared (destroyed), the sword dropped without the intended changes and the book was lost.
Expected behavior 1: return both items: the sword and the book
Expected behavior 2: apply the enchantment to the sword before the anvil is destroyed
I question the "Cannot Reproduce" resolution.
Use on a sword
/enchant player_name 17 5
/enchant player_name 16 5
You receive error message "Sharpness V can't be combined with Smite V"
The anvil gives no error message. It attempts to combine the items and consumes the book. If it happens to be the last use of the anvil, it disappear and the book is lost. My description was correct.
Trying now to reproduce, I noticed another strange behavior: successive attempts to combine the sword with the book require more and more levels even if the sword continues to have the same characteristics (Smite V and Unbreaking III).