@Html.Action("GetNotificationForm", "UMFSurface", new { area = "UMF", id = Model.id })
I get the following error on Umbraco 6.1.6 - using the latest version of UMF
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.
Source Error:
Line 55: {
Line 56: <div class="span2 pull-right">
Line 57: @Html.Action("GetNotificationForm", "UMFSurface", new { area = "UMF", id = Model.id })
Line 58: </div>
Line 59: }
Sorry I can't be any help. Just make sure that you create the categories via the backend and tick the allowed groups for that category.. Never got the ratings working so dropped it.
I did modifiy the UMFCreateDiscussion template but without access to the dll wasn't sure what to do either.
@{
string parentItem = "";
if (Request.QueryString["category"] != null)
{
parentItem = Request.QueryString["category"];
}
string currentItem = "";
if (Request.QueryString["discussion"] != null)
{
currentItem = Request.QueryString["discussion"];
}
}
<div class="container">
@Html.Action("RenderCreateDiscussion", "UMFSurface", new { area = "UMF", parent = parentItem, current = currentItem })
@Html.Action("GetNotificationForm", "UMFSurface", new { area = "UMF", id = Model.id })
I get the following error on Umbraco 6.1.6 - using the latest version of UMF
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.
Source Error:
Line 55: { Line 56: <div class="span2 pull-right"> Line 57: @Html.Action("GetNotificationForm", "UMFSurface", new { area = "UMF", id = Model.id }) Line 58: </div> Line 59: }
Source File: d:\home\site\wwwroot\App_Plugins\UMF\Views\Partials\UMF_Discussion.cshtml Line: 57
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.19453
Please ignore - Seemed to have fixed itself MVC / WEBFORMS issue?
Hi Nigel, I too have similar issue in 7.1.4, not using web forms.
Had to delete the web.config under /App-plugins/ufm/ to get it to work on 7.1.4
But whenever i click on a topic, i get the similar error.
What exactly have you done to resolve the issue?
Sorry I can't be any help. Just make sure that you create the categories via the backend and tick the allowed groups for that category.. Never got the ratings working so dropped it.
I did modifiy the UMFCreateDiscussion template but without access to the dll wasn't sure what to do either.
@{
string parentItem = "";
if (Request.QueryString["category"] != null)
{
parentItem = Request.QueryString["category"];
}
string currentItem = "";
if (Request.QueryString["discussion"] != null)
{
currentItem = Request.QueryString["discussion"];
}
}
<div class="container">
@Html.Action("RenderCreateDiscussion", "UMFSurface", new { area = "UMF", parent = parentItem, current = currentItem })
</div>
But don't think that fixed the error!
Regards Nigel
I wonder if you could use the following to get the 'parentItem' and 'currentItem' if that is the issue
Umbraco.Field("pageName", recursive: true)
Hi Nigel,
Thanks for the pointers. I have tried but something else breaks when one is fixed.
Really wanted this to work as there is no other MVC forum integrated to Umbraco, that can *potentially* work with v7..
But had to give up after various attempts to fix it.. Just hope that the maintainer of the package gets some free time to review it.
All the best!
is working on a reply...