Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doBranching is not defined. Maybe just cosmetic? #51

Open
pbchase opened this issue Oct 9, 2020 · 1 comment
Open

doBranching is not defined. Maybe just cosmetic? #51

pbchase opened this issue Oct 9, 2020 · 1 comment

Comments

@pbchase
Copy link
Contributor

pbchase commented Oct 9, 2020

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.

@ChemiKyle
Copy link
Contributor

Yes, I saw this one too and it didn't seem to affect anything for me either but that may not always be the case. Thanks for making an issue, I forgot to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants