Further to this I got back to support and told them I was a developer and therefore would probably be able to repair the database manually if they told me how, they've given a set of instructions which I'm going to attempt and I'll post back success or failure.
The development team have recreated the problem on the supplied site, they have created a new variable and it won't display on existing products but will on newly created ones, so they exported the site (.csv file) then imported with replace selected in the import dialog and the products now shows the variables fine using 8.5.1. This is the only work around and the cause is EC needs to populate the UserDefinedProperties table with values that correspond to the product\variable relation, and this can't be done using SQL.
The development team have recreated the problem on the supplied site, they have created a new variable and it won't display on existing products but will on newly created ones, so they exported the site (.csv file) then imported with replace selected in the import dialog and the products now shows the variables fine using 8.5.1. This is the only work around and the cause is EC needs to populate the UserDefinedProperties table with values that correspond to the product\variable relation, and this can't be done using SQL.
Comment