You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be that the Retirement Year is still populating as 2017 in the form. Changing that to 2018 solves the problemo. This fix also resolves #74.
Steps to reproduce:
http://www.cfiresim.com/
TypeError: Cannot read property 'infAdjSpending' of undefined
This error occurs within
calcWithdrawalAnalysis
. The first line of this function isvar currentYear = new Date().getFullYear();
If you put a break point here and adjust the value to be
2017
(rather than2018
), then the simulation will be fixed, and you will see your statistics.I didn't go through the code to see why this breaks it, but it may have to do with the market data that's available.
This problem may have justified the copy and pasting of market data that was done in recent years, leading to issues such as #68 .
Thanks for reading!
The text was updated successfully, but these errors were encountered: