I am using a feature (with feature receiver) to create some lists by code on "my site". The feature is site scoped and is activated by a farm scoped feature (using feature stapling) when a new my site is created.
So far, so good, but... When I edit the code in the feature receiver to add some more functionality, and upgrade the .wsp which holds the feature, the upgrade does not seem to work.
The feature is activated automatically when a new my site is created, but executes the old code. If I deactivate the feature and then activate the feature manually then the new code is executed.
I am having problems understanding this behavior. Any similar experience? Any ideas how to fix this ?