Giter Site home page Giter Site logo

moodle-assign_mahara's People

Contributors

nateyb93 avatar philcali avatar tony-box avatar upats avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moodle-assign_mahara's Issues

Mahara assignment prevents cron execution

Periodic Moodle cron fails when there are Mahara assignments to process, tries to insert null into column submission:

!!! Error writing to database !!!
!! Column 'submission' cannot be null
INSERT INTO mdl_assign_mahara_submit_views (submission,assignment,portfolio,status) VALUES(?,?,?,?)
[array (
  0 => NULL,
  1 => '24',
  2 => '1',
  3 => 'selected',
)]
Error code: dmlwriteexception !!
!! Stack trace: * line 426 of /lib/dml/moodle_database.php: dml_write_exception thrown
* line 1089 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1131 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
* line 183 of /mod/assign/submission/mahara/locallib.php: call to mysqli_native_moodle_database->insert_record()
* line 701 of /mod/assign/submission/mahara/locallib.php: call to assign_submission_mahara->add_update_portfolio_record()
* line 303 of /local/mahara/optionalib.php: call to {closure}()
* line 702 of /mod/assign/submission/mahara/locallib.php: call to Either_Projection->each()
* line 78 of /local/mahara/optionalib.php: call to {closure}()
* line 703 of /mod/assign/submission/mahara/locallib.php: call to Model_Option->map()
* line 879 of /mod/assign/lib.php: call to assign_submission_mahara::cron()
* line 270 of /lib/cronlib.php: call to assign_cron()
* line 88 of /admin/cron.php: call to cron_run()

Unable to submit and/or delete assignments

Hi there,

As I wrote here https://moodle.org/mod/forum/discuss.php?d=231356#p1031772 , it works fine to install and configure the plugin. However, whenever I go to submit a Mahara assignment, I get the following error message and it does not allow me to delete any other assignments. I am using Moodle 2.5+ (Build: 20130614) and Mahara 1.7.1

Error reading from database

More information about this error
Debug info: Table 'moodle.mdl_assignsubmission_mahara' doesn't exist

SELECT viewid, submission
FROM
mdl_assignsubmission_mahara
WHERE
viewid IN (11071,10856,8699)
[array (
)]
Error code: dmlreadexception
Stack trace:

line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 165 of /mod/assign/submission/mahara/locallib.php: call to mysqli_native_moodle_database->get_records_sql()
line 5143 of /mod/assign/locallib.php: call to assign_submission_mahara->get_form_elements_for_user()
line 5225 of /mod/assign/locallib.php: call to assign->add_plugin_submission_elements()
line 48 of /mod/assign/submission_form.php: call to assign->add_submission_form_elements()
line 191 of /lib/formslib.php: call to mod_assign_submission_form->definition()
line 3040 of /mod/assign/locallib.php: call to moodleform->moodleform()
line 476 of /mod/assign/locallib.php: call to assign->view_edit_submission_page()
line 53 of /mod/assign/view.php: call to assign->view()

QuickForm Error: nonexistent html element Element

I'm running the latest version of your mahara submission mod and I'm getting the following error when I try to add resources to a moodle course. I have tested this on Moodle 2.5.2

I suspect the problem is caused here:
[file] => /var/www/moodle/mod/assign/submission/mahara/locallib.php
[line] => 303

Here is a bit more of the error message: http://pastebin.com/MW10A7bi

I'm unable to copy everything as it crashes my web browser as there is so much.

Moodle 2.7

Hi,

As a teacher, when creating a Mahara assignment in Moodle 2.7, the following warning is displayed (with debugging turned on):

events_trigger() is deprecated, please use new events instead
line 283 of /lib/deprecatedlib.php: call to debugging()
line 308 of /mod/assign/submission/mahara/locallib.php: call to events_trigger()
line 1033 of /mod/assign/locallib.php: call to assign_submission_mahara->get_settings()
line 1051 of /mod/assign/locallib.php: call to assign->add_plugin_settings()
line 98 of /mod/assign/mod_form.php: call to assign->add_all_plugin_settings()
line 191 of /lib/formslib.php: call to mod_assign_mod_form->definition()
line 86 of /course/moodleform_mod.php: call to moodleform->moodleform()
line 254 of /course/modedit.php: call to moodleform_mod->moodleform_mod()

events_trigger() is deprecated, please use new events instead
line 283 of /lib/deprecatedlib.php: call to debugging()
line 336 of /mod/assign/submission/mahara/locallib.php: call to events_trigger()
line 790 of /mod/assign/locallib.php: call to assign_submission_mahara->save_settings()
line 962 of /mod/assign/locallib.php: call to assign->update_plugin_instance()
line 144 of /mod/assign/lib.php: call to assign->update_instance()
line 525 of /course/modlib.php: call to assign_update_instance()
line 266 of /course/modedit.php: call to update_moduleinfo()

Thanks.

Moodle 2.6 Error

Hi ,
we are currently using commit d8a4617 and experiencing the error below. previously we have used : commit a7aa119 and it worked fine in 2.6.

Fatal error: Call to undefined method stdClass::trigger() in /var/www/cicmoodle/docroot/mod/assign/submission/mahara/locallib.php on line 3

Parthi

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.