turnitin / moodle-plagiarism_turnitinsim

7 stars 9 forks source link

numerous warnings whenever creating, editing or saving activities #127

Closed taraghi closed 3 years ago

taraghi commented 3 years ago

Observed in

Turnitin generates numerous warnings whenever creating, editing or saving activities. Generally, these warnings appear whether Turnitin is activated or not.

Case 1: Creating and saving an activity (except Assignment) in a course

Steps to reproduce the warning below:

Add an Activity or Resource (as a teacher or manager) > Choose any except for Assignment (Tested with: Label, Group Choice, Scheduler) > Add the required information > Save and Return to Course.

add_activity_resource_1

Steps to reproduce the warning below:

Edit any Activity (as a teacher or manager) > Save and Return to Course

add_activity_1

The activity can be saved after clicking Continue and ignoring the warnings.

Case 2: Creating and saving an Assignment with or without Turnitin enabled

Steps to reproduce the warning below:

Add an activity or resource (as teacher or manager) > Assignment > Directly when first creating the assingment or when editing any existing assignment activity (as teacher or manager), the following warnings appear:

edit_assignment_2

Steps to reproduce the warning below:

Save and Return to Course in the Assignment just created, irrespective of whether Turnitin is enabled or not - or simply edit an existing visible assignment activitiy > Save and Return to Course

visible_assignment_2

Steps to reproduce the warning below:

Edit a hidden Assignment activity (as teacher or manager) > Save and Return to Course

hidden_assignment_2

It is possible to click Continue and the assignment is created or saved normally.

Case 3: Uploading a file to an assignment

Steps to reproduce the warning below:

Open a currently open assignment (as student), irrespective of whether Turnitin is enabled or not > Continue to the „add submission“ window

before_submission_3

Steps to reproduce the warning below:

Add a submission file and Save (as student) to the assignment created before, irrespective of whether Turnitin is enabled or not

add_submission_3

Case 4: Viewing submissions

Steps to reproduce the warning below:

Go to the assignment created before (as teacher or manager), no matter if Turnitin is enabled or not > View all submissionsORGo to the assignment created before, irrespective of whether Turnitin is enabled or not (as student) > Edit submission

edit_submission_warning_4

JMarshall841 commented 3 years ago

Hi @taraghi, We are aware of the deprecation warnings when debug mode is turned on. As the plugin supports multiple versions of moodle we need to continue to use the deprecated methods on the older versions. Once support for moodle 3.8 is dropped we will remove all references to those methods.