SPJS-CASC 3.6.4 Potential Issue

Forums Cascading dropdowns SPJS-CASC 3.6.4 Potential Issue

This topic contains 7 replies, has 3 voices, and was last updated by  Alexander Bautz 4 months, 3 weeks ago.

  • Author
    Posts
  • #15007

    Kasey
    Participant

    I am having an issue when loading a form that has Cascading Dropdowns configured. It actually works in IE but gives me the below error in Chrome and will not render the form. Any ideas?

    Uncaught TypeError: Cannot read property ‘field’ of undefined
    at String.eval (spjs-casc.js:152)
    at Function.each (jquery-1.7.2.min.js:2)
    at Object.init (spjs-casc.js:150)
    at Object.eval (eval at <anonymous> (DFFS_frontend.min.js:NaN), <anonymous>:1:152032)
    at Function.each (jquery-1.7.2.min.js:2)
    at Object.applyRules (eval at <anonymous> (DFFS_frontend.min.js:NaN), <anonymous>:1:151982)
    at HTMLDocument.eval (eval at <anonymous> (DFFS_frontend.min.js:NaN), <anonymous>:1:135337)
    at o (jquery-1.7.2.min.js:2)
    at Object.add (jquery-1.7.2.min.js:2)
    at init.ready (jquery-1.7.2.min.js:2)

    Version information
    DFFS frontend: 4.4.2.3
    DFFS frontend CSS: 4.21 / 4.21
    Autocomplete: 1.4.12
    Cascading dropdowns: 3.6.4
    jQuery: 1.7.2
    Lookup: 1.1.5
    Resource management: not loaded
    SPJS-Utility: 1.270
    vLookup: frontend v2.2.79

    Licensed to

  • #15009

    Alexander Bautz
    Keymaster

    Hi,
    Could you test this version and let me know if it fixes the issue?

    I’m in the process of packaging a new release of DFFS with a few bugfixes, so if you are able to get it tested today it would be great.

    This may also be an issue with your relatively old jQuery version. If you use the latest version with the new “installer / loader” you can add a link to this version (or a local copy) in the top of the DFFS_loader.html file:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

    Best regards,
    Alexander

  • #15015

    Kasey
    Participant

    Adding the reference to the updated jquery version did resolve the issue. Thank you.

  • #15040

    Kasey
    Participant

    I updated all my files to your recent release and am not having these same issues. Thank you!

  • #15378

    Aaron Hubbart
    Participant

    I also was receiving the error message above, but when adding the link to the new jquery, i recieve the following message.

    jquery-1.11.3.min.js:5 Uncaught TypeError: $(…).filterNode is not a function
    (anonymous function) @ /SPJS/DFFS/plugins/spjs-utility.js:379
    j @ jquery-1.11.3.min.js:2
    fireWith @ jquery-1.11.3.min.js:2
    x @ jquery-1.11.3.min.js:5
    b @ jquery-1.11.3.min.js:5
    send @ jquery-1.11.3.min.js:5
    ajax @ jquery-1.11.3.min.js:5
    wrapSoap @ /SPJS/DFFS/plugins/spjs-utility.js:469
    queryItemsThrottled @ /SPJS/DFFS/plugins/spjs-utility.js:377
    getAllItems @ /SPJS/DFFS/plugins/spjs-casc.js:601
    init @ /SPJS/DFFS/plugins/spjs-casc.js:116
    (anonymous function) @ VM9311:1
    each @ jquery-1.11.3.min.js:2
    applyRules @ VM9311:1
    (anonymous function) @ VM9311:1
    j @ jquery-1.11.3.min.js:2
    add @ jquery-1.11.3.min.js:2
    m.fn.ready @ jquery-1.11.3.min.js:2
    (anonymous function) @ VM9311:1

    I can’t get cascading dropdown to work at all.

  • #15393

    Aaron Hubbart
    Participant

    As a follow-up, if i revert back to the previous version 3.525, the dropdowns works as configured, but then the backend breaks….

  • #15395

    Aaron Hubbart
    Participant

    Updated to SPJS-casc version 3.6.7 and all is good, sorry for the flurry of messages.

  • #15411

    Alexander Bautz
    Keymaster

    I’m glad you got it running again.

    Alexander

You must be logged in to reply to this topic.