Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:documentation:known_issues [2019/06/26 05:38] tomiskardevel:documentation:known_issues [2025/06/03 09:46] (current) – [Unable to reset password when first name or last name is empty] kratochvils
Line 1: Line 1:
-<- .:compatibility |  ^ .:start | Documentation ^ ->+<- .:compatibility | ^ .:start | Documentation ^ .:testing | → 
 ====== Known issues ====== ====== Known issues ======
-This section is intended to contain the list of known issues that are not quick to solve i.e. those that occur in included libraries. If possible there is a workaround to the issue. This list does not replace the bugtracking tool for CzechIdM - https://redmine.czechidm.com 
  
-===== Model mapper =====+This section is intended to contain the list of known issues that are not quick to solve i.e. those that occur in included libraries. If possible there is a workaround to the issue. This list does not replace the bugtracking tool for CzechIdM - [[https://redmine.czechidm.com|https://redmine.czechidm.com]]
  
-Converter lib error Sometimes the error `org.modelmapper.MappingExceptionModelMapper mapping errors: Converter org.modelmapper.internal.converter.CollectionConverter@7214dbf8 failed to convert` occures. It is caused by the bug in the library "ModelMapper". Workaround is to restart the CzechIdM system. May be fixed in new version of ModelMapper - more info at https://github.com/modelmapper/modelmapper/commit/06dcce414ad56c6d200dda67fcd2670e9933c9ed+For the most common support requests, see this wiki page [[https://wiki.czechidm.com/priv/procesy_bcv/caste_supportni_pozadavky?s[]=%2Adisk%2A|https://wiki.czechidm.com/priv/procesy_bcv/caste_supportni_pozadavky?s[]=%2Adisk%2A]]
  
-==== Flyway ====+==== Some change script is not executed ====
  
-To prevent application startup fails due to Flyway error, property ''-Djava.util.Arrays.useLegacyMergeSort=true'' has to be added into environment propertiesIf property is not setthen application can fail on error+You can face this issue, during upgrading IdM version. During start up when the change scripts are executed some of them is "skipped" but there is no error and you will notice it laterwhen you try to use some IdM function which is relying on this change scriptThis issue was found during upgrade from 9.to 9.7.14 and the missing change scripts are from CORE V9\_06\_002 and V9\_06\_003 and as resultrole assigning failed on server error, because of missing columnChange script V9\_06\_001 was executed correctly and change script from 9.7.x was executed correctly to.
-<code>Error creating bean with name 'flywayCore' defined in class path resource [eu/bcvsolutions/idm/core/config/flyway/CoreFlywayConfig.class]:  +
-Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Comparison method violates its general contract!</code>+
  
-[[https://proj.bcvsolutions.eu/ngidm/doku.php?id=help:czechidm_server_install_guide#vyber_profilu_aplikace|Add JAVA_OPTS parameters]]:+If you want to be sure, after you upgrade IdM look into database table idm\_schema\_MODULENAME and check against repository that all change script are there. If you found some of them is missing just run the change script manually directly in DB. 
 + 
 +==== A rule for automatic role assignment based on EAV codelist attribute won`t apply ==== 
 + 
 +Affected IdM version12.x.
 + 
 +If there is an EAV codelist attribute for IdmIdentity and we want to create an automatic role based on the attribute then we are not able to set this ruleBasically the green button "Set" (Roles >> Automatic roles >> Based On The Attribute >> Add request for automatic role) will not do anything when applying the rule. This issue has been fixed in version 13.0.1 
 + 
 +==== Unable to reset password when first name or last name is empty ==== 
 + 
 +Affected IdM version14.3.0 
 + 
 +An update in policies caused an error in resetting user's password if the user's first name or last name is empty. This operation throws **INTERNAL_SERVER_ERROR**: Cannot invoke "String.toLowerCase()" because the return value of "eu.bcvsolutions.idm.core.api.dto.IdmIdentityDto.getLastName()" is null ({}). This issue has also been fixed for version 14.2.x. 
 + 
 +A configuration in IdM has been added, which fixes the password reset behaviour (enabled in Settings >> Configuration):
  
 <code> <code>
--Djava.util.Arrays.useLegacyMergeSort=true+idm.sec.core.identity.passwordChange.validateBannedStrings=true 
 </code> </code>
 +
 +
 +==== Incorrect display of data in a comparison report (xlsx) ====
 +
 +This is not a problem of IdM but rather of office products (we use mostly LibreOffice). Data in a column are not fully displayed. If we double click the cell, it reveals all data stored in it. We've faced "refunds" from customers and so far we've solved it by uploading a report to google drive, where it is displayed correctly. The solution for this is to format the whole column (from numbers to text) and it should reveal data correctly.
 +
 +Note: On newer versions of LibreOffice the issue hasn't been encountered, so it can be caused by older versions.
 +
  
  • by tomiskar