I can setup "Create Permissions" witout any problems, but under "Delete Permissions" I can only activate one group "Editors". If I try to activate and save any of the other groups:
https://www.screencast.com/t/WiERLYevEi
I get the following errormessage
{"Message":"An error has occurred.","ExceptionMessage":"String or binary data would be truncated in table 'Sydtrafik-UMB.dbo.umbracoKeyValue', column 'value'. Truncated value: '{\"create\":{\"allowed\":true,\"usergroups\":[\"administratorerSydtrafik\",\"editor\",\"lokalredaktorer\",\"lokal'.\r\nThe statement has been terminated.","ExceptionType":"System.Data.SqlClient.SqlException","StackTrace":" at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)\r\n at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)\r\n at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)\r\n at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)\r\n at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()\r\n at Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func) in D:\\a\\1\\s\\src\\Umbraco.Core\\Persistence\\FaultHandling\\RetryPolicy.cs:line 172\r\n at NPoco.Database.ExecuteNonQueryHelper(DbCommand cmd)\r\n at NPoco.Database.Execute(String sql, CommandType commandType, Object[] args)\r\n at NPoco.Database.<Update>b__214_0(String sql, Object[] args, Func`2 next)\r\n at NPoco.Database.UpdateImp[TRet](String tableName, String primaryKeyName, Object poco, Object primaryKeyValue, IEnumerable`1 columns, Func`4 executeFunc, TRet defaultId)\r\n at NPoco.Database.Update(String tableName, String primaryKeyName, Object poco, Object primaryKeyValue, IEnumerable`1 columns)\r\n at NPoco.Database.Update(Object poco, Object primaryKeyValue, IEnumerable`1 columns)\r\n at Umbraco.Core.Services.Implement.KeyValueService.SetValue(String key, String value) in D:\\a\\1\\s\\src\\Umbraco.Core\\Services\\Implement\\KeyValueService.cs:line 163\r\n at Our.Umbraco.RedirectsViewer.Controllers.UserGroupsApiController.SaveConfig(RedirectSettings settings) in C:\\projects\\umbraco-redirectsviewer\\Source\\Our.Umbraco.RedirectsViewer\\Controllers\\UserGroupsApiController.cs:line 91"}
Getting an error under "Delete permissions"
I can setup "Create Permissions" witout any problems, but under "Delete Permissions" I can only activate one group "Editors". If I try to activate and save any of the other groups: https://www.screencast.com/t/WiERLYevEi
I get the following errormessage
Umbraco version: 8.11.1
is working on a reply...