If user doesn't have permission to report a bug, file upload breaks
Reported by Imran | November 1st, 2011 @ 02:52 PM | in 2.0.3 (closed)
In framework/modules/administration/views/administration/toolbar.tpl line 130 it says:
Y.one('#reportabug-toolbar').on('click', reportbugwindow);
Y.one('#filemanager-toolbar').on('click',filepickerwindow);
Y.one('#fileuploader-toolbar').on('click',fileuploaderwindow);
However if the user doesn't have the permission to report a bug, the first line has an error and it breaks the subsequent 2 lines meaning that the user cannot upload files from the toolbar. Maybe use a try/catch?
Comments and changes to this ticket
-
expNinja November 2nd, 2011 @ 10:31 AM
- Milestone set to 2.0.3
- State changed from new to resolved
- Milestone order changed from 84 to 0
(from [415629f74a2c7aa3e9b831310ad7cb437f794abd]) Fixes bug where a non-admin user with the toolbar couldn't open file manager or upload windows from toolbar [#380 state:resolved milestone:2.0.3] https://github.com/exponentcms/exponent-cms/commit/415629f74a2c7aa3...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS