Changeset [27211db0ccc9c3ff7b32a5cfd310288418656fc2] 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...

Committed by Alexander Ljungberg

  • A Tests/Foundation/CPKeyedArchiverTest.j
  • M Foundation/CPKeyedUnarchiver.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins