I just found a bug in the Notes 8.5.2 Basic client (the behaviour does not occur in the Notes 8.5.2 Standard client, but occur if you are using UseBasicNotes=1). The issue prevents prevents users from editing or creating profile documents. The issue happen if you use:
@Command([EditProfileDocument] ; formname; uniqueKey) or @Command([EditProfile] ; formname; uniqueKey))
notesUIWorkspace.EditProfile( profileName$ [, uniqueKey$])
The current workarround is to switch to the Standard client (remove UseBasicNotes=1 or set it to 0). I have a SPR open (SPR # OIHZ893RHK) with IBM and they are working on it. I will update this posting if the issue is solved.
IBM released a client fix for it. If you need it please contact your local support and ask for a fix for the issue (SPR # OIHZ893RHK).
This fix is now included in the FP1 (and all newer fixpacks) for Lotus Notes 8.5.2:
SPR# OIHZ893RHK - Fixed a problem when using @Command(EditProfile) or the NotesUIWorkspaceEditProfile method in a button. When a Notes basic user clicked on the button, nothing happened.