Code Monkey home page Code Monkey logo

tiny_stash's People

Contributors

abgreeve avatar cameron1729 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cameron1729

tiny_stash's Issues

Plugin breaks site when accessing editor in student view

when a student tries to access the editor (e.g. question type essay or assignment - submission type online text) with the plugin installed, it breaks the site.
There is no capability associated with the tiny_stash plugin but students should not have access to this plugin in the editor.

Error:

line 875 of /lib/accesslib.php: required_capability_exception thrown
line 912 of /blocks/stash/classes/manager.php: call to require_capability()
line 485 of /blocks/stash/classes/manager.php: call to block_stash\manager->require_manage()
line 133 of /lib/editor/tiny/plugins/stash/classes/plugininfo.php: call to block_stash\manager->get_items()
line 80 of /lib/editor/tiny/classes/plugin.php: call to tiny_stash\plugininfo::get_plugin_configuration_for_context()
line 72 of /lib/editor/tiny/classes/manager.php: call to editor_tiny\plugin::get_plugin_info()
line 58 of /lib/editor/tiny/classes/editor.php: call to editor_tiny\manager->get_plugin_configuration()
line 149 of /lib/editor/tiny/classes/editor.php: call to editor_tiny\editor::set_default_configuration()
line 340 of /question/type/essay/renderer.php: call to editor_tiny\editor->use_editor()
line 56 of /question/type/essay/renderer.php: call to qtype_essay_format_editor_renderer->response_area_input()
line 403 of /question/engine/renderer.php: call to qtype_essay_renderer->formulation_and_controls()
line 108 of /question/engine/renderer.php: call to core_question_renderer->formulation()
line 113 of /question/behaviour/behaviourbase.php: call to core_question_renderer->question()
line 908 of /question/engine/questionattempt.php: call to question_behaviour->render()
line 461 of /question/engine/questionusage.php: call to question_attempt->render()
line 1341 of /mod/quiz/classes/quiz_attempt.php: call to question_usage_by_activity->render_question()
line 1303 of /mod/quiz/classes/quiz_attempt.php: call to mod_quiz\quiz_attempt->render_question_helper()
line 551 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\quiz_attempt->render_question()
line 488 of /mod/quiz/classes/output/renderer.php: call to mod_quiz\output\renderer->attempt_form()
line 144 of /mod/quiz/attempt.php: call to mod_quiz\output\renderer->attempt_page()

Thanks for fixing the error!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.