TO-DO item bug

agent86

Member²
Hi,

Version 8.0.2.1505

It appears that the T0-DO item "Show List" is buggy.

Steps:

open package and add TO-DO item.
Click Edit --> TO-DO Items --> Show List...

The item shows up.

Now close the package and reopen (either from file or right click)

Click Edit --> TO-DO Items --> Show List...

The list window is EMPTY. Its strange as it appears that it knows there are TO-DO items. If you put the cursor on an item the drop down will show you the edit item or close item menu items. The items just do not appear in the Show List window.

Thanks

Aaron
 
Hi Marco,

Same behavior. As soon as i added a new TO-DO item and click "Show Items..." I see them all but if I close the package and reopen I lose them all in the Show List Window.

Any thing else you need me to try?
 
I cannot reproduce this. Can you send me the source file with the to-do item? Do I just need to reopen the file and show the list to reproduce the issue? Or do I need to remove/recreate the to-do item?
 
Last edited:
I have some more information. If I explicitly work on the portion of the package that has the to-do item, I can get it to show. I don't get this behavior in version 7.1.5.

Let me explain. The package code I am using is at the bottom.

If I:

1. right click the package from the browser and choose "View Spec & Body" or "Edit Spec & Body"

2. Click Edit --> To-do Items --> Show List

Nothing appears in the To-do List Window.

However if I:

1. Right click on the package body and choose "View" or "Edit"
2. Click Edit --> To-do Items --> Show List

I see the one element. It appears that I must open only the section that has the to-do item. Older versions work regardless if I am looking at both spec & body or each individually. One exception though....

Now if I:

1. right click the package from the browser and choose "View Spec & Body" or "Edit Spec & Body"
2. Click Edit --> To-do Items --> Add Item...
3. (add a new to-do item)
4. Click Edit --> To-do Items --> Show List

I see both items now. The bug seems to be when I try to open the file as a whole (spec & body). But once again if I close the file and reopen both spec & body together, my To-list window appears empty.

I hope this is enough info.

--package to test
create or replace package todo_list is

-- Author : AGENT86
-- Created : 6/9/2010 12:46:54 PM
-- Purpose : Testing to-do list

PROCEDURE do_nothing;

end todo_list;
/
create or replace package body todo_list is

/*
TODO: owner="agent86" category="Finish" priority="1 - High" created="6/9/2010"
text="Make procedure do something"
*/
PROCEDURE do_nothing
IS
BEGIN
NULL;
END do_nothing;

end todo_list;
/

 
If I:

1. right click the package from the browser and choose "View Spec & Body" or "Edit Spec & Body"

2. Click Edit --> To-do Items --> Show List

Nothing appears in the To-do List Window.
The To-Do Item List will only show the items of the current editor. So if the tab page of the package specification is displayed and the to-do items are in the package body, the list will indeed be empty. Switching to the tab page of the package body will update the To-Do Item List.
 
But it doesn't work like that. That is what I am saying. I can put my cursor in the package body tab, put my cursor right at the to-do line and click Edit --> To-do Items --> Show List... and nothing shows.

So my test is:

1. right click the package from the browser and choose "View Spec & Body" or "Edit Spec & Body

2. Switch over to the body where the to-do item is.

3. Click Edit --> To-do Items --> Show List.

If I do this then I can NOT get the Show list window to show any to-do items. This does not work even if I switch over to the body which has the to-do item. It only works if I don't open the package spec and body at the same time. That is different than older versions. shouldn't I be able to show list regardless of how I open the file?
 
I was able to reproduce it now. Previously I used Right-Click > To-Do Items > Show List, which works fine. It fails when I do Edit > To-Do Items > Show List.

We'll fix it.
 
Back
Top