CPApplication tryToPerform:with: Causes Infinite Recursion
Reported by Alex J | December 21st, 2008 @ 08:55 PM | in 0.6.5
Cappuccino version 0.6 AppKit/CPApplication.j: 483 - 499:
On line 488, CPApplication
's
tryToPerform:with:
method calls itself with no change
to the arguments: [self tryToPerform:anAction
with:anObject]
. This results in an infinite recursion until
the maximum stack size is reached.
I think this line, 488, should be sending the message to
super
, not self
:
if ([super tryToPerform:anAction with:anObject])
Comments and changes to this ticket
-
admin (at 280north) December 22nd, 2008 @ 07:16 AM
- State changed from new to resolved
- Milestone set to 0.6.5
- Tag set to appkit, bug, cpapplication
(from [4eb1490d800ad8d0669abed111b6ccf01ba8ac5d]) Fix for http://cappuccino.lighthouseapp....
Not entirely sure this is the correct implementation, but I did fix the two typos and the infinite recursion.
[#177 state:resolved milestone:0.6.5] http://github.com/280north/cappu...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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.
People watching this ticket
Tags
Referenced by
- 177 CPApplication tryToPerform:with: Causes Infinite Recursion (from [4eb1490d800ad8d0669abed111b6ccf01ba8ac5d]) Fix for...
- 177 CPApplication tryToPerform:with: Causes Infinite Recursion [#177 state:resolved milestone:0.6.5] http://github.com/...