Hello.
While trying to set permissions for groups getting next error (CMDBuild v.3.2):
java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.cmdbuild.service.rest.v3.endpoint.GrantWs$WsGrantData, problem: enum value not found for name = w, valid values = [GM_READ, GM_WRITE, GM_NONE, GM_WF_DEFAULT, GM_WF_PLUS, GM_WF_ADMIN, GM_WF_BASIC] at [Source: [{"_id":“CMDBuildUI.model.users.Grant-496”,“role”:268616,“mode”:“w”,“objectType”:“class”,“objectTypeName”:“AMForm”,“filter”:"",“attributePrivileges”:{},"_is_process":false,"_card_create_disabled":false,"_card_update_disabled":false,"_card_delete_disabled":false,"_card_clone_disabled":false,"_card_relation_disabled":false,"_card_print_disabled":false,"_on_filter_mismatch":“none”,"_object_description":“Asset Management form”,"_can_fc_attachment":null,“modeTypeNone”:false,“modeTypeAllow”:false,“modeTypeRead”:false,“modeTypeWrite”:true,“modeTypeDefault”:true,“modeTypeDefaultRead”:false}]; line: 1, column: 454] (through reference chain: java.util.ArrayList[0]), caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of org.cmdbuild.service.rest.v3.endpoint.GrantWs$WsGrantData, problem: enum value not found for name = w, valid values = [GM_READ, GM_WRITE, GM_NONE, GM_WF_DEFAULT, GM_WF_PLUS, GM_WF_ADMIN, GM_WF_BASIC] at [Source: [{"_id":“CMDBuildUI.model.users.Grant-496”,“role”:268616,“mode”:“w”,“objectType”:“class”,“objectTypeName”:“AMForm”,“filter”:"",“attributePrivileges”:{},"_is_process":false,"_card_create_disabled":false,"_card_update_disabled":false,"_card_delete_disabled":false,"_card_clone_disabled":false,"_card_relation_disabled":false,"_card_print_disabled":false,"_on_filter_mismatch":“none”,"_object_description":“Asset Management form”,"_can_fc_attachment":null,“modeTypeNone”:false,“modeTypeAllow”:false,“modeTypeRead”:false,“modeTypeWrite”:true,“modeTypeDefault”:true,“modeTypeDefaultRead”:false}]; line: 1, column: 454] (through reference chain: java.util.ArrayList[0]), caused by: java.lang.NullPointerException: enum value not found for name = w, valid values = [GM_READ, GM_WRITE, GM_NONE, GM_WF_DEFAULT, GM_WF_PLUS, GM_WF_ADMIN, GM_WF_BASIC]