unfortunately, leaving postgres 14 didnt fix it.
Everything is ok, until switching from version 17.2.15 to 18.0.0, some tests are throwing errors as below.
Wskazowka: No function matches the given name and argument types. You might need to add explicit type casts.
Pozycja: 8
2023-09-29 01:16:42.349 [http-nio-8088-exec-3] WARN ExceptionWindowController ^%^ I727-J486 ^%^ org.olat.core.gui.exception.ExceptionWindowController ^%^ 31621325 ^%^ IP ^%^
http://IP:8088/auth/RepositoryEntry/31391771/CourseNode/107448309768575 ^%^ Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0 ^%^ ExceptionWindowController<init>: Throwable occurred, logging the full stacktrace: org.hibernate.exception.SQLGrammarException: JDBC exception executing SQL [select round(a1_0.a_score, 0),count(
a1_0.id) from o_as_entry a1_0 where a1_0.a_score is not null and a1_0.fk_entry=? and a1_0.fk_reference_entry=? and a1_0.a_subident=? and (a1_0.a_obligation is null or a1_0.a_obligation in (?,?,?,?)) and (a1_0.fk_identity in(select distinct g1_0.fk_identity_id from o_re_to_group r3_0,o_bs_group_member g1_0,o_bs_group_member g2_0 where r3_0.fk_entry_id=? and r3_0.fk_group_id=g2_0.fk_group_id and g2_0.g_role='coach' and g2_0.fk_identity_id=? and r3_0.fk_group_id=g1_0.fk_group_id and g1_0.g_role='participant') or a1_0.fk_identity in(select distinct g6_0.fk_identity_id from o_re_to_group r4_0,o_bs_group_member g6_0 where r4_0.fk_entry_id=? and r4_0.fk_group_id=g6_0.fk_group_id and g6_0.g_role='participant')) group by round(a1_0.a_score, 0)] [ERROR: function round(double precision, integer) does not exist Wskazowka: No function matches the given name and argument types. You might need to add explicit type casts
what can i do to fix it ? is my only solution to compile OO again with modified select query, im sure it will create many other problems.
Meybe some database modifications ? i can see that a_score in o_as_entry table has double precision data type, makes me confusing
im lost of ideas