The model template_shelf_inventory has the front texture directly set on the north face of the shelf_body cube, but said cube has a size of 16x16x3 while the texture expects a face of 16x8.
I have added screenshots of the model in blockbench with the oak shelf texture in the attachments, one of the complete model and one of the same model without the top and bottom parts.
Thank you for helping us improve Minecraft! We saved your files: