Issue
- Steps:
- Export a regular role from instance A and import it to instance B.
- Modify the name of the regular role on instance B.
- Exported the regular role from instance B and imported it to instance A.
- Expected result: There are two regular roles in instance A, one is the original in instance A, and the other one is the one exported from instance B.
- Actual result: There is only one regular role with the new name in step 2. Meaning, the regular role in instance A is replaced by the regular role in instance B.
Environment
- Liferay DXP 7.1
Resolution
- This is expected behavior.
- When importing roles into a new environment, Liferay will use uuid to determine if the imported role is a new role. Although the name of the regular role on instance B was updated/modified, the uuid is the same as the regular role on instance A. So Liferay will update the existing role instead of creating a new one.
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar