In the latest version, there is a glitch when in the anvils interface. If you take half of any item and put it in the first slot of the anvil, then shift click the other half, you will get the item back but with a red 0 on it.
THIS ALSO WORKS ON MULTIPLAYER!
Linked issues
Attachments
Comments

Duplicate of MC-71367.