An error occurred while loading the file. Please try again.
-
Reinhold Kainhofer authored
VirtueMartModelState::getStates and VirtueMartModelCountry::getCountries changes the internal cache ->_data, but does NOT modify ->_id... The proper fix would be in VM's model classes to set the id to -1. However, as a workaround we can call setId twice to ensure the cache is always invalidated and getData returns the proper object
Reinhold Kainhofer authoredVirtueMartModelState::getStates and VirtueMartModelCountry::getCountries changes the internal cache ->_data, but does NOT modify ->_id... The proper fix would be in VM's model classes to set the id to -1. However, as a workaround we can call setId twice to ensure the cache is always invalidated and getData returns the proper object