Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I installed Concierge 3.0.0 and it breaks my partial views, I get this on my pages:
Error loading Partial View script (file: ~/Views/MacroPartials/MainNavigationPartial.cshtml)
If I try to browse my partials in Developer section I get YSOD:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Concierge.Businesslogic.application.umbracoPage_Load(Object sender, EventArgs e) in c:\Program Files (x86)\teamcity\buildAgent\work\117c8ad6a83486c\Umbraco.Concierge V4\Businesslogic\application.cs:77
umbraco.presentation.masterpages.MasterPageLoadHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3177
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.33440
If I uninstall the package and delete Umbraco.Concierge.dll from bin (manually) it reverts back to normal.
P.S. I've just noticed Umbraco.Concierge V4 in the error message above, what's that about I wonder?
Did you get anywhere with this?
I've just discovered the same issue
Has anyone worked on this, I'm having the same issue and have to use Umbraco 6.1.6 at this time to allow for users with IE8.
I have also experienced this issue and really would like to get to the bottom of it.
I upgraded Umbraco from 6.1.6 to 6.2.1 and the issue is still present.
Well I have found what the problem is.
In Umbraco.Concierge.Businesslogic.application there is a switch statement.
Both the templates and the views appear to execute the same block of code
This code expects the "templateID" parameter from the request query string.
The error occurs because we are calling the .Replace method on a null string. When clicking on a partial view, we don't pass in a template ID, so it shouldn't be expected:
// This value is null when clicking a partial view!
string templateIdStr = HttpContext.Current.Request.QueryString["templateID"];
imageButton.OnClientClick = Helper.Modal("plugins/Concierge/documentationAddComment.aspx?refresh=false&key=template_" + templateIdStr.Replace("/", "").Replace(".", ""), "Concierge - add developer comment", 540, 340);
This is really easy to fix, and quite frustrating that it has been broken for so long :(
I have found a workaround for now (roll back to an older build!)
The last version without the bug is:
This is what I am using now.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted