U4-2320 - Error on saving User Permissions

Created by Corné Hogerheijde 04 Jun 2013, 09:29:03 Updated by Shannon Deminick 05 Jul 2013, 06:28:21

Is duplicated by: U4-2411

On trying to set specific user permissions I get the error below when I click the save button. In the screen only the ajaxloader image is showing.

Error (from FireBug)

POST http://www.web2.nl/umbraco/users/PermissionsHandler.asmx/SaveNodePermissions 500 Internal Server Error

{"Message":"Value cannot be null.\r\nParameter name: source","StackTrace":" at System.Linq.Enumerable.Any[TSource](IEnumerable1 source)\r\n at Umbraco.Web.Cache.CacheRefresherEventHandler.InvalidateCacheForPermissionsChange(UserPermission sender)\r\n at umbraco.BusinessLogic.Permission.DeletePermissions(Int32 iUserID, Int32[] iNodeIDs)\r\n at umbraco.cms.presentation.user.UserPermissions.SaveNewPermissions(Int32[] nodeIDs, List1 actions, Boolean replaceChildren)\r\n at umbraco.cms.presentation.user.PermissionsHandler.SaveNodePermissions(Int32 userID, String nodes, String permissions, Boolean replaceChild)","ExceptionType":"System.ArgumentNullException"}

Comments

David Pendray 12 Jun 2013, 15:34:23

I've submitted a fix for this here: https://github.com/umbraco/Umbraco-CMS/pull/4


David Pendray 13 Jun 2013, 02:04:56

I've resubmitted fix for 6.1.2 release: https://github.com/umbraco/Umbraco-CMS/pull/6


Corné Hogerheijde 13 Jun 2013, 07:32:22

Perfect, thank you!


Sebastiaan Janssen 13 Jun 2013, 10:21:10

Fixed in changeset https://github.com/umbraco/Umbraco-CMS/commit/6600e9c899a14b78d4b306b3e989d85190b78219 Thanks David!


Priority: Critical

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 6.1.1

Due in version: 6.1.2

Sprint:

Story Points:

Cycle: