I am passing an object into my plugin that contains a data type that is using an option set. Within this option set there is a nested option set. When doing a console log on the right field it returns null even though it is present in my db.
I do the following console.log → console.log(item.get(“coretalent_option_coretalents”).get(“category”).get(“display”))
this would narrow it down to a display name in an optionset that is present in my db but it logs ‘null’.
My option set was imported from another app. This had put it into a vague state where it was deleted but not really. Deleting the option set and manually making it again solved this issue.