BHoM / Excel_UI

GNU Lesser General Public License v3.0
5 stars 4 forks source link

Enums Not Updating #363

Closed kayleighhoude closed 2 years ago

kayleighhoude commented 2 years ago

Description:

When new items are added to enums, existing workbooks do not update the enum, where new workbooks show the entirety of the entries in the enum.

EnumNotUpdating

@travispotterBH @michaelhoehn not sure if you have seen this issue as well

Steps to reproduce:

Expected behaviour:

Test file(s):

FraserGreenroyd commented 2 years ago

@kayleighhoude can you provide an existing workbook that is experiencing the issue and an example enum that can be used to attempt to reproduce the issue?

travispotterBH commented 2 years ago

I've tried this in an existing workbook of my own and did not have the same unexpected behavior. @kayleighhoude I'd like to see if I can replicate on your file..

FraserGreenroyd commented 2 years ago

Investigated with @travispotterBH just now on a call. I can confirm that changing an enum and opening an existing sheet does not load in new enum options.

This is due to the enum options being saved/serialised with the file, but not being updated if the enum has changed. @travispotterBH and I are looking into this now