Developer forum

Forum » CMS - Standard features » Error when creating redirect record

Error when creating redirect record

Melissa Borgmann
Melissa Borgmann
Reply
Receiving an error when adding redirects (see below) - anything that jumps out that could be causing this? Repro video and steps below.
 
https://lorannoils.mydwsitec.com/
  1. Navigate to Settings > Web and HTTP > Redirects
  2. Click Add
  3. Add path (/food-grade-essential-oils-super-strength-flavors)
  4. Add link (/products/shop/flavors/super-strength-flavors-food-grade-essential-oils)
  5. Add website (Optional - doesn't seem to matter either way)
  6. Set Status = Forward to link (301 [..]
  7. Set Active = True
  8. Click Save or Save and Close in the ribbon
  9. Receive error (below)
     

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:

 

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.


Stack Trace:
 

[NullReferenceException: Object reference not set to an instance of an object.]
   Dynamicweb.Admin.DirectPaths_Edit.DoSave(Boolean& isNewPath) +619
   Dynamicweb.Admin.DirectPaths_Edit.ProcessPostBack() +320
   Dynamicweb.Admin.DirectPaths_Edit.Page_Load(Object sender, EventArgs e) +319
   System.Web.UI.Control.OnLoad(EventArgs e) +98
   System.Web.UI.Control.LoadRecursive() +153
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4081

 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4057.0


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Melissa,

I was able to reproduce the exception on environment based on last 9.15.12 admin as well. New task #15223 has been created to research and fix the bug. Thanks.

BR, Oleg QA

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer
Hi Melissa,
Bugfix #15223 regarding creating redirect record now fixed in Dynamicweb hotfix version 9.15.13
You can get this from the download section https://doc.dynamicweb.dk/downloads/dynamicweb-9
 
Sorry for any inconvenience this may have caused
 
Med venlig hilsen / Kind Regards
Kristian Kirkholt
DW Care
Votes for this answer: 1

 

You must be logged in to post in the forum