New custom license feature not found on old license when upgradingAnswered

We had a customer with an old version of our program, we updated them with a new version, and they keep getting the error: "wyDay.TurboActivate.TurboActivateException: Failed to get feature value. The feature doesn't exist".

Between the last time we updated them and now, we did add a new license feature, a checkbox, but in LimeLM it does show up on old licenses. It seems that when trying to get the value of this feature in the program it's not finding it and throwing the error, but testing on some old licenses myself I wasn't able to reproduce it, we are concerned on whether this issue was a one time fluke or whether it will happen for more customers until we can release another update. It seems like there may be some bug where occasionally a new feature can't be found on an old license, but we haven't been able to reproduce this at all on any of our machines.

Our app was running an older version of TurboActivate, 5.0.0.0, and just updated to the latest, but we don't know if that has to do with the issue.

Answer

It sounds like you're not handling failure cases correctly in your code. Don't crash if the custom license field isn't set.

Of course, if a field is required in your app, mark it as a required field in LimeLM so that it will be guaranteed to be filled out.