Skip Menu |

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 26896
Status: resolved
Priority: 0/
Queue: Curses-UI

People
Owner: Nobody in particular
Requestors: cheyne [...] nd.gov
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Patch for Curses::UI::Notebook::delete_page
Date: Wed, 2 May 2007 11:24:36 -0500
To: <bug-Curses-UI [...] rt.cpan.org>
From: "Heyne, Christopher S." <cheyne [...] nd.gov>
Hello, There is a bug in Notebook, the delete_page method deletes the entire notebook instead of just one page. Here is a patch to delete only the selected page. 530c530 < $this->getobj($page)->SUPER::DESTROY(); --- Show quoted text
> $this->SUPER::DESTROY($page);
Thanks, Chris
On Wed May 02 12:24:55 2007, cheyne@nd.gov wrote: Show quoted text
> Hello, > > There is a bug in Notebook, the delete_page method deletes the entire > notebook instead of just one page. > Here is a patch to delete only the selected page. > > 530c530 > < $this->getobj($page)->SUPER::DESTROY(); > ---
> > $this->SUPER::DESTROY($page);
> > > Thanks, > Chris
Turns out that this was applied silently at some point prior to my maintainership. Hooray for zero-effort fixes!