@Antoine - any idea when this will be fixed? I upgraded to Umbraco 7.2.8 yesterday and a lot of the LeBlender admin functionality is broken. I had to turn off 'render in grid' as I'm getting the 404 errors as described in this thread, and I am also unable to save any changes (via GridEditors nav) to my grid.editors.config file too (I've checked permissions are still okay).
I've just updated to 1.08 and it's completely broken everything... even worse than before! With the previous version I could just turn rendering off and the users could still edit their leblender items and they would still show on the webpage...
But with 1.0.8:
- If I attempt to edit anything in the GridEditors section it breaks
- My front-end webpages are now not working and displaying lots of "Object reference not set to an instance of an object" errors
- With rendering off I can click on a LeBlender item in the admin to show the details but I can't save any changes at all
- If I turn rendering on it's flooded with those red 404 errors
I've tried republishing everything, clicking on each leblender item and trying to save them but nothing works.
I have these errors showing now:
WARN Umbraco.Core.Services.ApplicationTreeService - [P5664/T36/D11] The tree definition: <add initialize="true" sortOrder="0" alias="GridEditorManager" application="developer" title="Grid Editors" iconClosed="icon-doc" iconOpen="icon-folder-open" type="Lecoati.leblender.Extension.Controllers.LeBlenderEditorManagerTreeController, Lecoati.leblender.Extension" /> could not be resolved to a .Net object type
and a lot of these errors too, possibly not related to LeBlender (although that's the only thing having issues)
2015-07-22 02:13:33,273 [27] ERROR Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute - [P5664/T17/D7] Failed to format passed in token value
System.Security.Cryptography.CryptographicException: Error occurred during a cryptographic operation.
at System.Web.Security.Cryptography.HomogenizingCryptoServiceWrapper.HomogenizeErrors(Func`2 func, Byte[] input)
at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
at Umbraco.Core.StringExtensions.DecryptWithMachineKey(String value)
at Umbraco.Web.Mvc.AdminTokenAuthorizeAttribute.AuthorizeCore(HttpContextBase httpContext)
2015-07-22 02:13:33,304 [27] ERROR Umbraco.Core.UmbracoApplicationBase - [P5664/T17/D7] An unhandled exception occurred
System.NullReferenceException: Object reference not set to an instance of an object.
at Umbraco.Core.Configuration.UmbracoSettings.ContentErrorPageElement.set_Culture(String value)
at Umbraco.Core.Configuration.UmbracoSettings.ContentErrorsElement.get_Error404Collection()
at Umbraco.Web.Routing.ContentFinderByLegacy404.TryFindContent(PublishedContentRequest pcr)
at Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest)
at Umbraco.Web.Routing.ContentLastChanceFinderByNotFoundHandlers.TryFindContent(PublishedContentRequest docRequest)
at Umbraco.Web.Routing.PublishedContentRequestEngine.HandlePublishedContent()
at Umbraco.Web.Routing.PublishedContentRequestEngine.UpdateRequestOnMissingTemplate()
at Umbraco.Web.Mvc.RenderRouteHandler.GetHandlerForRoute(RequestContext requestContext, PublishedContentRequest publishedContentRequest)
at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)
at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I rolled back these files (1.0.7 files): blendereditorwrapper.js, requesthelper.service.js, parameterconfig.controller.js, parameterconfig.html, as well as the main LeBlender dll, and the front-end site is at least working again! Admin still won't save though...
It's essential to clear the clientdependency cache just after upgrade the package or work in debug mode, hopefully it is related with that.
If you still have the issue, give me more información about your LeBlender version your are trying to upgrade and if you are using nuget, I will try to reproduce your issue.
Antoine
I've tried clearing the clientdependecy, updating the clientdependecy.config, and touching the web.config but it still isn't working.
However, I set debug to true and it DOES start working. I re-saved all of my GridEditors, then had to go through every page on every site with a LeBlender component, click each individual leblender component and click 'update' for it to start working again (then publish the whole page obviously). One of my previously working components still refuses to work though.
But, if I then set debug to false then it falls over again (only the front-end works):
In the Content areas I get multiple big red error messages (as shown earlier in this thread) saying "Request error: The URL returned a 404 (not found):
/umbraco/surface/Helper/GetPartialViewResultAsHtmlForEditor"
And in the GridEditors area I get the big red error "The URL returned a 404 (not found): /umbraco/surface/Helper/SaveEditorConfig"
Note: I upgraded from 1.0.7 to 1.0.8 - I upgrade my development version using Nuget, and then copy the updated & published files to the live server.
Sorry, I didn't have the time to have a look on that... but I did several upgrade of leblender 1.0.7 to 1.0.8 in different projects, the only issue I found was related with the strong cache of Umbraco.
I always have the error: Request error: The URL returned a 404..., but it always related with the client dependency cache, try to remove the folder /app_data/temp/ClientDependency in your both environments and clear your browser cache as well. If it worked in mode bebug=true, it must be related with that...
For the only componente that doesn't work, have you got a specific error?
I noticed that I had a second ClientDependecy folder in AppData (i.e. AppData/ClientDependecy). I was previously only clearing the files in App_Data/TEMP/ClientDependecy. Anyway, I shutdown the site in IIS, deleted both of the ClientDependecy folders and restarted it... and it started to work!
So it looks like you were right all along :) Thank you very much for your help!
I have the same problem. I'm using Umbarco 7.2.8 and leBlender 1.08. I removed all ClientDependency folder and removed browser cache. But the problem is still there.
Please help!! My project depend heavily on Grid Editors.
There is another potencial explaining, and this is something we have to change in the next version of Leblender:
When you create a new LeBlender Editor, its properties are related with datatype GUIDs. The probleme here is that if your are working with a local database with differnt datatype GUIDs, you must be careful to update your Leblender Editor properties first with the right datatype, otherwise you will have this issue.
Same story in my implementation. Is there any solution in sight?
My workaround is to edit the grid.editors.config.js manually. Since I need the datatype guids to do this, I wrote a short service which produced a list of the guids:
There was a change in the HelperController (see r. 81) from a SurfaceController to an UmbracoAuthorizedApiController. The requesthelper.service.js calls the api with the URL
/umbraco/surface/Helper/SaveEditorConfig
which doesn't apply for UmbracoAuthorizedApiControllers. The .js file was changed in r. 82 but seems not te be updated with NuGet.
Solution: Checkout the file from the Git repository (https://github.com/Lecoati/LeBlender/trunk) and replace it in your umbraco installation.
Running Umbraco 7.2.5 with LeBlender (1.05 I think)
Updated to Umbraco 7.2.8
Got 404 error messages with getPartialViewResultAsHtmlForEditor in the editor with rendering in the grid
Updated LeBlender to 1.08 using package installer - still had the issue
Deleted both ClientDependency folders - still an issue
Ran the site with debug set to true - no problems at all
Restarted computer, deleted clientdepency folders, deleted the browseer cache, ran in debug mode, saved all pages with grid in, republished entire site - and switched back to debug=false - that solved it
Thanks for making a fantastic package and helping solve problems with it!! :o)
404 Error when using "Render in grid"
Hi,
I am having a periodic error in my backoffice, when I'm using the setting "Render in grid".
I just came out of nowhere, but sometimes it disappear for a couple of hours, and then shows up again.
Do you have any clue about what I'm doing wrong?
BR Jonas
Hi Jonas,
It quite weird, maybe related with a session issue? could you give me the editor json config to try for my own
Cheers
When I try to edit in the grid the above error appears. When I try to save any grid editor I get the error I uploaded
I think this might be a related issue
I don't think that it was related, your issue Anton seems to be that the grid json config has a bad format
Strange. It rectified itself after a good nights sleep :)
oups !! weird... probably cache issue
I have not had the issue since I posted in here, so I guess it solved it self.
I've had the error again. And it looks like it happens if you are logged in both as member and user on the same email.
Hi Anton
I tried for my side and I can't reproduce your issue, did you figure out something else?
I started to get these errors after updating from Umbraco 7.2.6 to 7.2.7.
I've sent a small pull request with some changes that solved the issue for me: https://github.com/Lecoati/LeBlender/pull/9
/ Regin
Thanks Regin ! I will have a look on it, your change looks great. I just want to do some test before.
@Antoine - any idea when this will be fixed? I upgraded to Umbraco 7.2.8 yesterday and a lot of the LeBlender admin functionality is broken. I had to turn off 'render in grid' as I'm getting the 404 errors as described in this thread, and I am also unable to save any changes (via GridEditors nav) to my grid.editors.config file too (I've checked permissions are still okay).
Hi,
I will publish a release today to fixed that and others small bugs. I ll keep you up to to date.
The bug is fixed in LeBlender 1.0.8 (just released), many thanks Regin for your contribution
I've just updated to 1.08 and it's completely broken everything... even worse than before! With the previous version I could just turn rendering off and the users could still edit their leblender items and they would still show on the webpage...
But with 1.0.8: - If I attempt to edit anything in the GridEditors section it breaks - My front-end webpages are now not working and displaying lots of "Object reference not set to an instance of an object" errors - With rendering off I can click on a LeBlender item in the admin to show the details but I can't save any changes at all - If I turn rendering on it's flooded with those red 404 errors
I've tried republishing everything, clicking on each leblender item and trying to save them but nothing works.
I have these errors showing now:
and a lot of these errors too, possibly not related to LeBlender (although that's the only thing having issues)
I rolled back these files (1.0.7 files): blendereditorwrapper.js, requesthelper.service.js, parameterconfig.controller.js, parameterconfig.html, as well as the main LeBlender dll, and the front-end site is at least working again! Admin still won't save though...
Hi,
It's essential to clear the clientdependency cache just after upgrade the package or work in debug mode, hopefully it is related with that.
If you still have the issue, give me more información about your LeBlender version your are trying to upgrade and if you are using nuget, I will try to reproduce your issue. Antoine
I've tried clearing the clientdependecy, updating the clientdependecy.config, and touching the web.config but it still isn't working.
However, I set debug to true and it DOES start working. I re-saved all of my GridEditors, then had to go through every page on every site with a LeBlender component, click each individual leblender component and click 'update' for it to start working again (then publish the whole page obviously). One of my previously working components still refuses to work though.
But, if I then set debug to false then it falls over again (only the front-end works):
In the Content areas I get multiple big red error messages (as shown earlier in this thread) saying "Request error: The URL returned a 404 (not found): /umbraco/surface/Helper/GetPartialViewResultAsHtmlForEditor"
And in the GridEditors area I get the big red error "The URL returned a 404 (not found): /umbraco/surface/Helper/SaveEditorConfig"
Note: I upgraded from 1.0.7 to 1.0.8 - I upgrade my development version using Nuget, and then copy the updated & published files to the live server.
Any ideas Antoine?
Hi,
Sorry, I didn't have the time to have a look on that... but I did several upgrade of leblender 1.0.7 to 1.0.8 in different projects, the only issue I found was related with the strong cache of Umbraco.
I always have the error: Request error: The URL returned a 404..., but it always related with the client dependency cache, try to remove the folder /app_data/temp/ClientDependency in your both environments and clear your browser cache as well. If it worked in mode bebug=true, it must be related with that...
For the only componente that doesn't work, have you got a specific error?
Hi Antoine,
I noticed that I had a second ClientDependecy folder in AppData (i.e. AppData/ClientDependecy). I was previously only clearing the files in App_Data/TEMP/ClientDependecy. Anyway, I shutdown the site in IIS, deleted both of the ClientDependecy folders and restarted it... and it started to work!
So it looks like you were right all along :) Thank you very much for your help!
Hello Guys
I have the same problem. I'm using Umbarco 7.2.8 and leBlender 1.08. I removed all ClientDependency folder and removed browser cache. But the problem is still there.
Please help!! My project depend heavily on Grid Editors.
Hi Ibrahim,
It seems to be again related with some cache... did you try in debug mode?
Hi Ibrahim,
There is another potencial explaining, and this is something we have to change in the next version of Leblender:
When you create a new LeBlender Editor, its properties are related with datatype GUIDs. The probleme here is that if your are working with a local database with differnt datatype GUIDs, you must be careful to update your Leblender Editor properties first with the right datatype, otherwise you will have this issue.
Thank you Antonie
I tried that and the problem solve. i copied the grid config file from another installation.
Hi Ibrahim, Hi Schlubadub
Problems solved, it makes me happy :) I can go on holiday in peace ! We really have to solve the GUID issue, we always have problem with that.
Cheers
Same story in my implementation. Is there any solution in sight?
My workaround is to edit the grid.editors.config.js manually. Since I need the datatype guids to do this, I wrote a short service which produced a list of the guids:
This is a short example:
Hope, this helps somebody.
Mirko
Where are you finding these GUID values?
I found the solution. The update to 1.0.8 via NuGet didn't update the file
/App_Plugins/LeBlender/common/services/requesthelper.service.js
There was a change in the HelperController (see r. 81) from a SurfaceController to an UmbracoAuthorizedApiController. The requesthelper.service.js calls the api with the URL
/umbraco/surface/Helper/SaveEditorConfig
which doesn't apply for UmbracoAuthorizedApiControllers. The .js file was changed in r. 82 but seems not te be updated with NuGet.
Solution: Checkout the file from the Git repository (https://github.com/Lecoati/LeBlender/trunk) and replace it in your umbraco installation.
Hi I just had the same issue as Jonas:
Running Umbraco 7.2.5 with LeBlender (1.05 I think) Updated to Umbraco 7.2.8 Got 404 error messages with getPartialViewResultAsHtmlForEditor in the editor with rendering in the grid Updated LeBlender to 1.08 using package installer - still had the issue Deleted both ClientDependency folders - still an issue Ran the site with debug set to true - no problems at all Restarted computer, deleted clientdepency folders, deleted the browseer cache, ran in debug mode, saved all pages with grid in, republished entire site - and switched back to debug=false - that solved it
Thanks for making a fantastic package and helping solve problems with it!! :o)
Did anyone find a nice solution for the GUID-problem?
It's kind of a huge problem, that we cant deploy the grid.editor.js config file to our server, because of the different GUIDs in the DB.
I have just upgraded to Umbraco 7.3.0 and this issue has started. Is there a problem with 7.3.0?
I know it's old post. But solution is:
Set
disableFindContentByIdPath
inumbracoSettings.config
tofalse
I hope this may help you :3
is working on a reply...