When the command is done, the player will hear the "bee leaves hive" sound repeated very fast and it doesn't end unless the player breaks the hive or leaves the world.
It also will change the texture of the hive to the honey filled hive even though it was not filled by bees. (The player is able to fill bottles from it as well.
Copying the buggy hive's NBT data will also keep the same effect
WARNING: This bug is very shakey to replicate so mess around with different things, as for me it was not very consistent with its behavior.
Related issues
Attachments
Comments

Thank you for your report!
We're actually already tracking this issue in MC-159383, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki