Discussion:
[lively-kernel] Old methods active until world reload
Bert Freudenberg
2014-02-12 09:25:37 UTC
Permalink
This just bit me, again. I renamed a method in SCB and changed all the senders. Tested, committed, published, went to bed.

Except that I had forgotten one sender. So when my colleagues wanted to continue, loaded the world, it broke. The method was still in my runtime under the previous name, so my testing did not find the problem.

I filed the issue a while ago:
https://github.com/LivelyKernel/LivelyKernel/issues/216

I'll try to fix it unless someone beats me to it. What would it take to fix it myself?

- Bert -
Bert Freudenberg
2014-02-12 13:37:09 UTC
Permalink
Post by Bert Freudenberg
This just bit me, again. I renamed a method in SCB and changed all the senders. Tested, committed, published, went to bed.
Except that I had forgotten one sender. So when my colleagues wanted to continue, loaded the world, it broke. The method was still in my runtime under the previous name, so my testing did not find the problem.
https://github.com/LivelyKernel/LivelyKernel/issues/216
I'll try to fix it unless someone beats me to it. What would it take to fix it myself?
- Bert -
I fixed it, with a little help from Jens:
https://github.com/LivelyKernel/LivelyKernel/commit/a0899a1
https://github.com/LivelyKernel/LivelyKernel/commit/f08ad30

This does not deal with removal of whole classes or cop etc, just plain methods, but should be easily extendable if you know these areas well.

- Bert -

Loading...