fix 24377: crash on create parts if tbox present
Merge pull request #662 from MarcSabatella/24377-tbox-parts

fix 24377: crash on create parts if tbox present