CMDBuild Forum

Problem when removing a user from a group

In CMDBuild 2.5, when we try to remove a user from an assigned group, we get the following error. Any ideas?

Call: services/json/schema/modsecurity/savegroupuserlist

Error: org.springframework.jdbc.BadSqlGrammarException: CallableStatementCallback; bad SQL grammar [{call cm_delete_card()}]; nested exception is org.postgresql.util.PSQLException: ERROR: function cm_delete_card() does not exist
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Position: 15
at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:99)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1094)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1130)
at org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:405)
at org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:365)

We are not aware of this error.
If you want to stay with version 2.x I suggest you upgrade to CMDBuild 2.5.1.
Otherwise you can use the new version 3, next week we will release CMDBuild 3.1.1.

We already have 2.5.1 installed. I should have been more precise. If there’s no easy solution, we’ll wait for 3.1.1 next week.