Issue Details (XML | Word | Printable)

Key: SHALE-254
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig McClanahan
Reporter: Craig McClanahan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Tiger Extensions do not call back to annotated preprocess/prerender methods

Created: 13/Aug/06 01:17 AM   Updated: 21/Aug/06 11:28 PM
Return to search
Component/s: Tiger
Affects Version/s: None
Fix Version/s: 1.0.3


 Description  « Hide
When you annotate a view controller using @View instead of "implements ViewController", the methods marked with @Preprocess and @Prerender are never called. This used to work.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig McClanahan added a comment - 13/Aug/06 01:22 AM
Corrected initialization of LifecycleListener (core) and LifecycleListener2 (tiger) such that the Tiger version of ViewControllerCallbacks is again registered. This, in turn, ensures that prerender and preprocess callbacks to annotated view controllers will work correctly again.

Leaving the issue open until suitable tests are added to catch any future regression in this behavior.

Craig McClanahan added a comment - 13/Aug/06 03:08 AM
Added two new testbed webapps (shale-test-core and shale-test-tiger) that contain regression tests to ensure that we do not break view controller callbacks (annotated or regular, in the case of the tiger extensions tests).

The underlying bug reported by this issue have been fixed in nightly build 20060813.