PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → GroupWare Windev v21 - Error
GroupWare Windev v21 - Error
Débuté par victor, 31 mai 2017 15:02 - 1 réponse
Posté le 31 mai 2017 - 15:02
Hola

Incorporé en mi aplicación el control de Acceso GroupWare hasta aqui todo bien (puedo agregar usuario y dar acceso a las distintas ventanas,etc), el problema surge cuando intento acceder a una ventana que tiene acceso denegado, lo cual me arroja el siguiente error:







//--------------------------------------- error al acceder a un modulo denegado ------------------
Error at line 1 of Click BTN_Delegación process.
Open function called.
Unable to open <WIN_Delegacion> window:
> You have no rights to access the 'WIN_Delegacion' element.
Contact an administrator of the application.

----- Technical Information -----

Project : UPCNGESTION

WL call:
Process of 'Click BTN_Delegación' (WIN_menu.RIBBON_NoName1.BTN_Delegación), line 1, thread 0
'Open' function, syntax 0

What happened?
Unable to open <WIN_Delegacion> window:
You have no rights to access the 'WIN_Delegacion' element.

Contact an administrator of the application.

Error code: 10019
Level: fatal error

Dump of the error of 'wd210obj.dll' module (21.0.369.9).
Identifier of detailed information (.err): 10019
Debugging information:
Fonction (1,1)
Additional Information:
EIT_PILEWL :
Click BTN_Delegación (WIN_menu.RIBBON_NoName1.BTN_Delegación), line 1
EIT_DATEHEURE : 31/05/2017 09:58:21
EIT_TYPE_WDFILE : <2>
EIT_IDCODE : <18>


Esto igualmente incorporandolo dentro de mi app como Customer User GroupWare o como Automatic User GroupWare.

Alguien ha tenido el mismo problema?... en tal caso como lo solucionó?... esto es un bug de Windev v21?

Desde ya muchas gracias.
victor
Posté le 31 mai 2017 - 16:53
me respondo a mi mismo... :)

Aquí estaba el problema y la solución.

En el help dice lo siguiente:
Click the "Allow the access" and "Deny the access" buttons.
Important: if you deny the access to a window, don't forget to lock all the access means to this window (by graying the relevant buttons, menu options, ...). A fatal error will occur if a user has the ability to open a window for which he does not have access.

Esta advertencia dice que no debo inhabilitar el acceso directamente la ventana, sino el boton o Menu que llama esa ventana.

Esta bien esa salvedad en el Help, si bien esto es la solución, entonces no debería de alguna manera mostrar en las opciones de Acceso el boton inhabilitar cuando es Ventana, sino solo los objetos de esa ventana.

VhP