Hi,
On Sat, Oct 18, 2008 at 4:10 PM, Alisson Yagi <[EMAIL PROTECTED]> wrote:
> Hi!
>
> As verified in ticket # 48 [1], there's a bug when creating a new profile
> after closing all tabs.
>
> I verified that the bug happens because an instruction is called without
> previous verification in the function update_profile_entry (inside
> umitGUI/ProfileEditor.py).
>
> The function below was generating the bug error:
>
> Line 342: page.toolbar.profile_entry.update()
>
> The suggested patch is to assing a "None" value to "page" variable before
> entering the loop. If the condition to enter the loop is not met, then
> "page" still has "None" value.
>
> So, we verify it before calling the function:
>
> if page != None:
> page.toolbar.profile_entry.update()
>
yeah, you should instance page as None, so you will avoid the possibility of
none pages created.
>
>
> The patch is attached to ticket #48.
>
I test it in some cases and it works fine for me.
You should commit it. (in message log of commit make a brief description of
bug, and mention ticket number as #48).
>
> Any further question or sugestion, just let me know.
>
I'm glad you're helping Umit.
Thanks for contribution.
>
>
> Cheers,
>
> Alisson Yagi
>
> --
>
> [1] http://trac.umitproject.org/ticket/48
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Umit-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/umit-devel
>
>
Cheers!
--
Luis A. Bastiao Silva
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel