Changeset [27211db0ccc9c3ff7b32a5cfd310288418656fc2] by Alexander Ljungberg
Revision 27211db0ccc9c3ff7b32a5cfd310288418656fc2,
committed by Alexander Ljungberg
· April 21st, 2011 @ 12:59 PM
Fixed: JS objects 'randomly' failed to unarchive.
The problem was that if the same JS object was decoded twice as
part of a more complex object, the first decoded version was cached
in its unwrapped state and not properly unwrapped the second time.
This caused very hard to debug theming errors where e.g. a
CPTextField's custom inset would decode fine, but a subclass of a
CPTextField otherwise exactly the same would fail to decode the
inset.
https://github.com/280north/cappuccino/commit/27211db0ccc9c3ff7b32a...
2 changed files
-
A
Tests/Foundation/CPKeyedArchiverTest.j -
M
Foundation/CPKeyedUnarchiver.j