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/10/02 15:50]
poulm [Model mapper] consequences
devel:documentation:known_issues [2024/02/06 09:51] (current)
koulaj
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 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 ===== +==== Some change script is not executed ==== 
- +You can face this issue, during upgrading IdM version. During start up when the change scripts are executed some of them is "skippedbut there is no error and you will notice it later, when you try to use some IdM function which is relying on this change script
-Converter lib error - Sometimes the error `org.modelmapper.MappingException: ModelMapper 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 systemMay be fixed in new version of ModelMapper - more info at https://github.com/modelmapper/modelmapper/commit/06dcce414ad56c6d200dda67fcd2670e9933c9ed +This issue was found during upgrade from 9.4 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.
- +
-as a result of this bug, IdM may mulfunction - e.gLRT won`t start and user contracts are not updated (renew) !!! +
- +
-==== Flyway ==== +
- +
-To prevent application startup fails due to Flyway errorproperty ''-Djava.util.Arrays.useLegacyMergeSort=true'' has to be added into environment properties. If property is not set, then application can fail on error+
-<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]]: +
- +
-<code> +
--Djava.util.Arrays.useLegacyMergeSort=true +
-</code>+
  
 +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. 
  • by poulm