The bug
Item modifiers missing type still parse, and crash the game when executed. When used in a data pack, they prevent the world from loading.
How to reproduce
Hold an item
/item modify entity @s weapon {}
Expected result
Command fails to parse
Observed result
The game crashes
[media]
Can confirm.