[krbdev.mit.edu #5604] NIM update inconsistency when deleting credentials

Jeffrey Altman via RT kfw-bugs at MIT.EDU
Thu Aug 2 09:44:16 EDT 2007


Kevin Koch via RT wrote:
> Patch to fix Refresh button behavior:
>
> Index: mainwnd.c
> ===================================================================
> --- mainwnd.c   (revision 19739)
> +++ mainwnd.c   (working copy)
> @@ -261,6 +261,7 @@
>          case KHUI_ACTION_VIEW_REFRESH:
>              khm_cred_refresh();
>              InvalidateRect(khm_hwnd_main_cred, NULL, FALSE);
> +            khui_action_trigger(KHUI_ACTION_LAYOUT_RELOAD, NULL);
>              return 0;
>
>          case KHUI_ACTION_PASSWD_ID:
>
As I pointed out previously, this is the wrong change.  What you are
doing here is simulating the effect that switching back and forth
between the basic and advanced views would have.  You have not actually
identified the cause of the problem.

The question to be answered is "why is the basic view credential list
not being updated?" 

More than likely there is a race condition somewhere.  If you find that,
you will probably fix several of your tickets.  Covering over the
problem with a superficial change like this will just make it harder to
find the true issue.







More information about the kfwdev mailing list