Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

CPApplication tryToPerform:with: Causes Infinite Recursion

#177

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])

Reported by Alex J · December 21st, 2008 @ 08:55 PM

State: resolved
Milestone: 0.6.5
Assigned to: nobody

Activity

  1. admin (at 280north)
    admin (at 280north)
    • 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 CPApplication tryToPerform:with: Causes Infinite Recursion state:resolved milestone:0.6.5] http://github.com/280north/cappu...

    December 22nd, 2008 @ 07:16 AM

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.