I have a patch for this incoming, but if you apply olive oil to food that has either item damage differentiation or NBT data (and Vanilla Food Pantry foods have both) you get something that doesn't make sense as it has discarded both the preexisting item damage and the NBT data.