Matthew Wolfe

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: One entry in List not opening #34773
    Matthew Wolfe
    Participant

    Nevermind… I found the issue. I had attempted to apply DFFS to a custom form someone built using dataview webpart in the browser.
    Thanks!

    • This reply was modified 2 years, 6 months ago by Matthew Wolfe.
    in reply to: One entry in List not opening #34768
    Matthew Wolfe
    Participant

    Hey Alexander,
    I just updated to 4.4.5.32, as I had users reporting similar behavior in one of our lists. Unfortunately, this did not fix it. Here’s a copy of the error in the console. Can you take a look? I checked for odd characters in the fields, but found nothing out of the ordinary.

    
    
    VM246:1 Uncaught TypeError: Cannot read properties of undefined (reading 'id')
        at Object.getCurrentItemSP13 (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:22140)
        at Object.configFound (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:172995)
        at Object.loadConfig (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:166544)
        at eval (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:16608)
        at NotifyEventAndExecuteWaitingJobs (init.js?rev=AS%2Bv0UYCkcLYkV95cqJXGA%3D%3D:1)
        at NotifyScriptLoadedAndExecuteWaitingJobs (init.js?rev=AS%2Bv0UYCkcLYkV95cqJXGA%3D%3D:1)
        at sp.js?rev=Th%2BaNIysz0P34BIh1LEEBw%3D%3D:2
    getCurrentItemSP13 @ VM246:1
    configFound @ VM246:1
    loadConfig @ VM246:1
    eval @ VM246:1
    NotifyEventAndExecuteWaitingJobs @ init.js?rev=AS%2Bv0UYCkcLYkV95cqJXGA%3D%3D:1
    NotifyScriptLoadedAndExecuteWaitingJobs @ init.js?rev=AS%2Bv0UYCkcLYkV95cqJXGA%3D%3D:1
    (anonymous) @ sp.js?rev=Th%2BaNIysz0P34BIh1LEEBw%3D%3D:2
    • This reply was modified 2 years, 6 months ago by Matthew Wolfe.
    in reply to: Bug: Cannot read property ‘hiddenBy’ of undefined #33345
    Matthew Wolfe
    Participant

    No problem. Thank you for the solid tool!
    Will educate the team to help avoid this in the future.
    Take care!

    in reply to: Bug: Cannot read property ‘hiddenBy’ of undefined #33339
    Matthew Wolfe
    Participant

    Thanks for the reply Alex!
    I figured it out. The user had pasted some text into a multi-line text field in one record, and it had some special characters. Once I cleaned up the text for them, it renders the form just fine, no error.
    Let me know if you need any other details, otherwise, I think I’m set.

    in reply to: Bug: Cannot read property ‘hiddenBy’ of undefined #33332
    Matthew Wolfe
    Participant

    More Details from Chrome Console
    VM222:1 Uncaught TypeError: Cannot read property ‘hiddenBy’ of undefined
    at HTMLTableRowElement.eval (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:115893)
    at Function.each (jQuery.js?v=1619620789687:2)
    at n.fn.init.each (jQuery.js?v=1619620789687:2)
    at Object.toggleVisibleFieldsByTab (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:115738)
    at Object.do_toggleSelectedTab (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:119314)
    at Object.initSelectedTab (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:129936)
    at Object.applyRules (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:226205)
    at Object.loadCustomJS (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:195546)
    at Object.loadDependencies (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:197060)
    at HTMLDocument.eval (eval at <anonymous> (DFFS_frontend_min.js:9), <anonymous>:1:170204)

    After using console to put a break in there, it iterates through the fields, down to “ID”, then it iterates to a blank item “”, which causes the error.

    • This reply was modified 2 years, 12 months ago by Matthew Wolfe.
    in reply to: Bug: Cannot read property ‘hiddenBy’ of undefined #33330
    Matthew Wolfe
    Participant

    This is happening to us as well, using the latest dffs V4.4.5.22_2021-04-25 on SP2013.

    Unable to get property ‘hiddenBy’ of undefined or null reference
    eval code (329) (1,115855)

    Tested in IE11, Edge Chromium and Chrome.

    Appears to be occurring in the following lines. What is the fix?
    {spjs.dffs.data.hiddenColTrackerObj[b].hiddenBy.tab=true;if(b.indexOf())jQspjs(a).hide();spjs.dffs.data.hiddenColTrackerObj[b].hidden=true}else{if(spjs.dffs.data.hiddenColTrackerObj[b].hidden&&jQspjs.inArray(b,spjs.dffs.data.initialHiddenFields)<0){spjs.dffs.data.hiddenColTrackerObj[b].hiddenBy.tab=false;if(!spjs.dffs.data.hiddenColTrackerObj[b].hiddenBy.rule){jQspjs(a).show();spjs.dffs.data.hiddenColTrackerObj[b].hidden=false}}

Viewing 6 posts - 1 through 6 (of 6 total)