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

Bug update select2 to select2.full needed #5221

Closed
ChurchCRMBugReport opened this issue Apr 20, 2020 · 3 comments
Closed

Bug update select2 to select2.full needed #5221

ChurchCRMBugReport opened this issue Apr 20, 2020 · 3 comments

Comments

@ChurchCRMBugReport
Copy link

Using SundaySchoolClassView.php?groupId=1 to view a class in the demo site.

The Javascript console shows:
Uncaught Error: No select2/compat/inputData
at D (select2.min.js:2)
at s (select2.min.js:2)
at select2.min.js:2
at new e (select2.min.js:2)
at new d (select2.min.js:2)
at HTMLInputElement. (select2.min.js:2)
at Function.each (jquery.min.js:2)
at k.fn.init.each (jquery.min.js:2)
at k.fn.init.i.fn.select2 (select2.min.js:2)
at HTMLDocument. (SundaySchoolClassView.php?groupId=1:1101)

It appears that select2 need to be select2.full for this to function correctly.

Collected Value Title Data
Page Name /churchcrm/Menu.php
Screen Size 1200x1920
Window Size 1030x1885
Page Size 1525x1885
Platform Information Linux church.home 4.18.0-147.5.1.el8_1.x86_64 #1 SMP Wed Feb 5 02:00:39 UTC 2020 x86_64
PHP Version 7.2.11
SQL Version 8.0.17
ChurchCRM Version 4.0.3
Reporting Browser Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Prerequisite Status All Prerequisites met
Integrity check status {"status":"success"}
@crossan007
Copy link
Contributor

@rbeerster I can see this issue in the Javascript console, but does it actually cause any issues

The form that would be affected by the erroneous JavaScript seems to be defunct?

@rbeerster
Copy link

Yes, the modal dialog has been commented out. However, clicking on a birthday histogram column brings up another bug. No persons are displayed. I am not sure what that issue is. I really just do not like one issue/error masking another. If the functionality is unused why leave it in the code? The only reason I looked at this was to see if I could replace jquery.flot.* with Chart.js for both of these graphs because of 5219. Fixing this issue helped me to understand what functionality I might change if Chart.js was used here too. Feel free to direct me how you want to proceed.

@DawoudIO
Copy link
Contributor

DawoudIO commented Jun 1, 2020

this will be part of 4.0.5 release

@DawoudIO DawoudIO closed this as completed Jun 1, 2020
@DawoudIO DawoudIO added this to the 4.0.5 milestone Jun 1, 2020
@DawoudIO DawoudIO added the bug label Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants