U4-3129 - Container document types Content tab not refreshed after a change

Created by Andy Butland 13 Oct 2013, 19:20:02 Updated by Shannon Deminick 21 Oct 2013, 03:43:56

On adding a new item, or carrying out a bulk action the view is not refreshed. In the console I can see:

GET http://umbraco7beta.local/umbraco/UmbracoApi/Content/GetChildren?id=1052&pageNumber=1&pageSize=10&orderBy=Id&orderDirection=Descending&filter= 500 (Internal Server Error)

The error behind this is:

{"Message":"An error has occurred.","ExceptionMessage":"Incorrect syntax near ')'.","ExceptionType":"System.Data.SqlClient.SqlException","StackTrace":" at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 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.SqlDataReader.TryConsumeMetaData()\r\n at System.Data.SqlClient.SqlDataReader.get_MetaData()\r\n at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite)\r\n at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)\r\n at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)\r\n at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)\r\n at StackExchange.Profiling.Data.ProfiledDbCommand.ExecuteDbDataReader(CommandBehavior behavior)\r\n at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()\r\n at Umbraco.Core.Persistence.Database.d__71.MoveNext()\r\n at System.Collections.Generic.List1..ctor(IEnumerable1 collection)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)\r\n at Umbraco.Core.Persistence.Repositories.PermissionRepository1.GetUserPermissionsForEntities(Object userId, Int32[] entityIds)\r\n at Umbraco.Core.Services.UserService.GetPermissions(IUser user, Int32[] nodeIds)\r\n at Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingContentAttribute.FilterBasedOnPermissions(IList items, IUser user, IUserService userService)\r\n at Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)\r\n at System.Web.Http.Filters.ActionFilterAttribute.<>c__DisplayClass2.<System.Web.Http.Filters.IActionFilter.ExecuteActionFilterAsync>b__0(HttpResponseMessage response)\r\n at System.Threading.Tasks.TaskHelpersExtensions.<>c__DisplayClass412.b__40(Task1 t)\r\n at System.Threading.Tasks.TaskHelpersExtensions.ThenImpl[TTask,TOuterResult](TTask task, Func2 continuation, CancellationToken cancellationToken, Boolean runSynchronously)"}

Doing a full page refresh indicates that the action has successfully completed, so it's a problem just with the refresh.

Comments

Shannon Deminick 21 Oct 2013, 03:43:56

When adding a new item it redirects you to a new page to create the new item. Pretty sure the bulk action stuff is fixed since i cannot replicate this and did some work on it last week. I can successfully bulk unpublish, publish and delete and the UI is updated.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.0

Sprint:

Story Points:

Cycle: