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

  The patch is attached to ticket #48.

  Any further question or sugestion, just let me know.


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

Reply via email to