lms
lms copied to clipboard
Wasn't able to upload Image through classess!
Describe the bug I was exploring LMS and found, I wasn't able to attach image through Front-end despite having Administrator role!
To Reproduce Steps to reproduce the behavior:
- Create a new course, click over attach image button.
- It will open dialogue box for attaching image with uploading button.
- Attaching isn't working as expected.
- Refer console errors:
- Uncaught ReferenceError: Vue is not defined
- Uncaught TypeError: this.uploader is undefined
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- OS: Ubuntu 20
- Browser: Firefox
- Frappe Version: v14
@asharamseervi is there any error in the console? Can you attach a screenshot of the same?
Yes, there are! I already shared reference of those console log error's titles; let'me share detailed log:
Uncaught ReferenceError: Vue is not defined
Uncaught ReferenceError: Vue is not defined
FileUploader index.js:31
show_upload_modal new-course:1695
<anonymous> new-course:1417
jQuery 2
index.js:31:2
Uncaught TypeError: this.uploader is undefined
Uncaught TypeError: this.uploader is undefined
on_page_show index.js:116
make dialog.js:111
jQuery 7
transitionComplete2 modal.js:294
fn jQuery
handle util.js:35
jQuery 8
_showElement modal.js:301
show modal.js:145
fn jQuery
handle util.js:35
jQuery 8
_showBackdrop modal.js:407
show modal.js:145
Modal2 modal.js:551
jQuery 2
_jQueryInterface modal.js:534
show dialog.js:210
make_dialog index.js:121
FileUploader index.js:26
show_upload_modal new-course:1695
<anonymous> new-course:1417
jQuery 2
index.js:116:4
Uncaught TypeError: this.uploader is undefined
Uncaught TypeError: this.uploader is undefined
upload_files index.js:103
primary_action index.js:110
set_primary_action dialog.js:165
jQuery 8
set_primary_action dialog.js:158
set_primary_action bootstrap-4-web.bundle.js:55
make dialog.js:55
make bootstrap-4-web.bundle.js:63
Dialog dialog.js:17
Dialog2 bootstrap-4-web.bundle.js:44
make_dialog index.js:107
FileUploader index.js:26
show_upload_modal new-course:1695
<anonymous> new-course:1417
jQuery 2
index.js:103:2
I am unable to replicate this issue on my site. Can you please make sure that your site is up to date and try again. What branch of LMS is your site on?
Hi pateljannat, I has found the same issue in my system, can you fix it?
- Upload image for change cover course photo
- Can't not click Upload button to upload photo
I am unable to replicate this issue on my site. Can you please make sure that your site is up to date and try again. What branch of LMS is your site on?
@duc-nq What version of Frappe is your site on?
@duc-nq What version of Frappe is your site on?
My LMS site install on ERPnext version 14. Could you help me check this issue?
@duc-nq It works fine with develop branch of Frappe. I'll check why its not working on v14.
@duc-nq It works fine with develop branch of Frappe. I'll check why its not working on v14.
Do you want check on my site?. I will send to you the account to login my site. You can check this more quickly.
@duc-nq sure if you can share the information that would help.
how to fix it?
how to fix it?
works fine with the latest version