Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

If user doesn't have permission to report a bug, file upload breaks

#380

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?

Reported by Imran · November 1st, 2011 @ 02:52 PM

State: resolved
Milestone: 2.0.3
Assigned to: expNinja expNinja

Activity

  1. expNinja
    expNinja
    • 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 If user doesn't have permission to report a bug, file upload breaks state:resolved milestone:2.0.3] https://github.com/exponentcms/exponent-cms/commit/415629f74a2c7aa3...

    November 2nd, 2011 @ 10:31 AM

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.