orca-nrw / crossplatform-moodle-lti-plugin

GNU General Public License v3.0
3 stars 5 forks source link

ORCA-1063 Mandatory field can be skipped when creating activity #42

Closed KaiOrca closed 2 years ago

KaiOrca commented 2 years ago

ersion: Moodle Version: 3.9.16

Link: Moodle Sandbox

user:XXX pw:XXXX

Reproduction steps:

Login as user

Create Course

Enable editing

Add activity

Select ORCA LTI to open Plugin

Select ORCA Content

Actual result:

Button “Auswählen“ for ORCA-Content, when creating an ORCA LTI Activity is displayed as mandatory field. A User can create an ORCA LTI Activity without choosing ORCA Content → skipping “Asuwählen”. Thus, ORCA LTI Activity can be created without selecting a content in Plugin.

An empty activity will be created

AK (SHOULD):

It should not be possible to create an empty activity (with using this LTI plugin dialog) “Einen ORCA-Inhalt auswählen”

If a user clicks on “Save” without selecting “ORCA-Inhalt”/ORCA-content, an Error Message should be shown, or Save button should be disabled (up to a developer) and activity should not be created

KaiOrca commented 2 years ago

QA stag done, Issue was closed