Corrigindo sincronizar aplicação no módulo de segurança
In this article, we’ll see how to fix the issue in the sync_app application (default name) without having to recreate the security module.

This fix applies to a security module
created in a version prior to 9.12.021 and using the following
types:
- Group
- Application
- Ldap/Application
The issue
When deleting an application from the system in the application list and using the synchronize applications option to update the database, some tables were not being updated and the deleted applications continued to appear.
How to fix
To fix the synchronization issue in the security module, it is necessary to edit the code in the onValidate and onValidateSuccess events of the sync_apps application (default name).
Step-by-step
Follow the steps below. If you have any questions, contact our support team through the official channels.
1. Locating the application
No matter what prefix was used during the creation of the security module, the default name of the application is sync_apps. On the home screen of your project, search for sync_apps.
2. Code for onValidate
After opening the application, go to the onValidate event, comment out the existing code and add the code below.
The code below uses default names for tables, fields, and applications. Before applying the changes, make sure to verify the table names in your system and adjust the code if necessary.
Below is the list of SQL commands used in this code.
3. Code for onValidateSuccess
After applying the necessary changes in the onValidate event, access the onValidateSuccess event.
This event includes only visual improvements, aimed at providing clearer feedback when using the synchronize applications option.
Comment out the current code and add the code below.
onValidateSuccess
4. Testing and Deployment
After making the changes, compile the application source code and perform tests to ensure that the changes have been applied correctly.
If everything works as expected in the tests, simply deploy the application so that the fix is applied to your production system.
If you have any questions or issues with the update, please contact our support team through official channels.
Related Articles
Security Module Two-Factor Authentication - Google Authenticator
Google Authenticator generates 2-step verification codes on your smartphone. Two-Step Verification provides greater security for your account as it requires a second verification step at login. In addition to the password, you will need a code ...
Crear menú de aplicación
En este tutorial le mostraremos cómo crear una aplicación de menú. Después de crear el proyecto, se mostrará una pantalla con todas las aplicaciones disponibles para su creación. Seleccione el menú de la aplicación, ingrese el nombre y el idioma a ...
Cambiar el estilo de un campo dentro de un Formulario Registro Unico
Para cambiar un campo de forma dinámica dentro de un formulario, se debe utilizar o crear un método JavaScript que va a ser el que va a estar dando el estilo al campo. Los pasos a seguir son: 1. Inspeccionar el elemento del campo para obtener el id ...
Melhorando performance do banco de dados com MySQL Tuner
Você pode baixar todo o repositório usando ‘git clone’ seguido pela URL clonagem acima. O método mais simples e mais curto é: wget http://mysqltuner.pl/ -O mysqltuner.pl wget ...
Instalando o PHP no IIS - Windows 2000/XP
Instalando o PHP no Windows 2000/XP Instalação do PHP Baixar do site http://www.php.net/downloads.php a seguinte versão: PHP 4.x.x zip package Extrair o arquivo php-4.x.x-Win32.zip com WinZip para C: e após a extração renomear a pasta ...