HomeHome Product Discus... Product Discus...SmithCartSmithCartNew install affects dropdown in DNN 7.1.1 admin pageNew install affects dropdown in DNN 7.1.1 admin page
Previous
 
Next
New Post
1/17/2014 10:17 AM
 
I just installed Smith Cart 5.6.8 into DNN 7.1.1 (new install).  Immediately after, when I go to Add New Page from the Pages menu logged in as Host the Parent Page setting dropdown does not populate with the page structure.  It just times out with a javascript error "'children.length' is null or not an object" from /resources/shared/components/dropdownlist/dnn.dropdownlist.js.  This did not happen prior to the Smith Cart installation and I was able to see the page tree in the dropdown.  Is there a fix for this?  This will be a showstopper for us if not.
 
New Post
1/17/2014 1:04 PM
 
Hi Clark,

I believe that this is an issue specific to DNN 7.1.1 which has since been resolved when DNN 7.1.2 was released. I recommend testing the Cart in a DNN 7.1.2 portal to see if the issue is still present.

Thanks!
 
New Post
1/18/2014 10:12 AM
 
Thanks, Kevin.  DNN7.1.2 resolved the issue.
 
New Post
1/20/2014 1:26 PM
 
Glad to hear the issue was resolved. Always happy to help.

Thanks
 
New Post
2/3/2014 3:15 PM
 
Well, I thought it resolved it but here's what I experienced when I upgraded our production DNN.  I had not installed the new module on production yet after discovering the issue on our staging server.  So when I upgraded production to 7.1.2 and THEN installed the new Smith Cart module the problem was not resolved even with 7.1.2.  It's as though the SC module steps on something in DNN.  Upgrading to 7.1.2 fixed what SC stepped on but having installed it after 7.1.2 upgrade, it stepped on it again.  And now I'm at the latest upgrade.  Too much time has elapsed to roll back to 7.1.1 because we would lose form data, etc. that has come in since then.

Could you identify possibly a DNN jQuery function for that dropdown box that might be getting over-written when SC is installed and could the original DNN function be restored again after the fact?
 
New Post
2/4/2014 1:38 PM
 
Hi Clark,

Using Google Chrome's Developer Tools, are there any javascript errors on the page having the issue?

Thanks!
 
New Post
2/5/2014 4:56 AM
 
Thanks, Kevin.

Yes, when the dropdown box is opened and does not display the tree:

 

1.                                   Uncaught TypeError: Cannot read property 'length' of undefined dnn.dropdownlist.js?cdv=110:588

1.                                                      TreeNodeConverter.castNode dnn.dropdownlist.js?cdv=110:588

2.                                                      DynamicTreeViewController._onGetTree     dnn.dropdownlist.js?cdv=110:694

3.                                                      b.isFunction.i       jquery.js:7223

4.                                                      c      jquery.js:7341

5.                                                      p.fireWith    jquery.js:7403

6.                                                      k      jquery.js:9597

7.                                                      r      jquery.js:9597

 
New Post
2/5/2014 2:22 PM
 
Hi Clark,

Thank you we will look into this and will respond shortly.

Thanks for reporting the issue!
 
New Post
2/11/2014 10:01 AM
 
Hi Kevin.  Have you found a way to resolve this?  We are past a point where we can restore from a backup or we would lose too much data in other areas. There are not really any good workarounds when this tree dropdown is not available. 
Regards,
Clark
 
New Post
2/11/2014 2:13 PM
 
Hi Clark,

This issue is on our developers queue of issues to resolve and we will do our best to provide a fix in the next release of the Cart. In the meantime the best workaround would be to use the Page Management screen from the Admin Menu.

If you would like to have this item prioritized into programming right away please submit a quote request at the following link: https://www.smith-consulting.com/serv...

It is NOT required that you sponsor this fix, ONLY if you would immediate attention to the issue you reported.

Thanks!
 
New Post
2/24/2014 11:32 AM
 
Thanks, Kevin.  DNN versions 7.2 and 7.2.1 are now available so we upgraded to 7.2.1 and this again corrected the issue.  Apparently the Smith Cart installation over-writes something in the DNN install and upgrading re-writes it back.
 
New Post
2/24/2014 3:19 PM
 
Hi Clark,

Thanks for the update! This seems to be a javascript conflict and we will post back to this thread as soon as a fix is available in the module.

Thanks for reporting the issue!
 
New Post
4/4/2014 1:48 PM
 
Hi Clark,

Great news! The solution to this issue is to copy the Newtonsoft.Json.dll from the DNN install package, into the \bin folder on your server.

Thanks for reporting the issue!
 
New Post
4/7/2014 5:12 AM
 
Kevin,

That is great news.  Thank you for your persistence in tracking down this solution!
 
New Post
4/7/2014 2:08 PM
 
Always happy to help!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartNew install affects dropdown in DNN 7.1.1 admin pageNew install affects dropdown in DNN 7.1.1 admin page