If trying to gain a potion with [item_name=”some_text”], the shown name will be “Uncraftable Potion“ instead of “some_text“.
How to reproduce:
Simply type the following command after creating the world with cheating option on (to able to type command).
give @p potion[item_name="some_text"]
The result it should be:
Player get the potion with name “some_text“.
The result we actually get:
Player get the potion with name “Uncraftable Potion“.
Does MC-277845 describe your issue?