Skip to content

doBranching is not defined. Maybe just cosmetic? #51

@pbchase

Description

@pbchase

It might just be a cosmetic error, but when I was testing PR #49, I stumbled onto this bug.

bundle.js?1602184750:234 jQuery.Deferred exception: doBranching is not defined ReferenceError: doBranching is not defined
    at HTMLDocument.<anonymous> (http://localhost:11035/modules/auto_populate_fields_v0.0.0/js/default_when_visible.js?1602254968:62:9)
    at c (http://localhost:11035/redcap_v10.3.5/Resources/webpack/js/bundle.js?1602184750:234:26162)
    at u (http://localhost:11035/redcap_v10.3.5/Resources/webpack/js/bundle.js?1602184750:234:26464) undefined
C.Deferred.exceptionHook @ bundle.js?1602184750:234
u @ bundle.js?1602184750:234
setTimeout (async)
(anonymous) @ bundle.js?1602184750:234
l @ bundle.js?1602184750:234
fireWith @ bundle.js?1602184750:234
fire @ bundle.js?1602184750:234
l @ bundle.js?1602184750:234
fireWith @ bundle.js?1602184750:234
ready @ bundle.js?1602184750:234
q @ bundle.js?1602184750:234
bundle.js?1602184750:234 Uncaught ReferenceError: doBranching is not defined
    at HTMLDocument.<anonymous> (default_when_visible.js?1602254968:62)
    at c (bundle.js?1602184750:234)
    at u (bundle.js?1602184750:234)

I was able to create this when taking the demographics survey of this [redcap project]
(https://github.com/ctsit/auto_populate_fields/files/5355776/APFPR49Test3_2020-10-09_1053.REDCap.xml.zip). This project is the same as the module test project, but with the first form--demographics--activated as a survey presenting section per page. The error shows on the last page. Here's a screen shot of the failure:

Screen Shot 2020-10-09 at 11 02 10 AM

Again, I'm not sure this creates any problems, but I figured I should share.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions