-
Improvement
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-66496-master -
Currently, when importing entries to a mod_data instance, it is possible to have the user metadata fields within the csv, but these fields are simply skipped.
It would be nice, if the importer could use these fields, recognize the author of the entry and apply this information. I would suggest to use the username for the mapping to the user and use the same column names for identification as the exporter uses.
About the corner cases:
If no username is specified or the username does not belong to a valid user, the uploading user is used as an author.
If a field is specified within the data instance, which has the same name as the Username field:
- And the uploaded file contains two username columns: The first is used for the username field and the second for the identification of the author.
- And the uploaded file contains only one username columns: The one entry is used for the username field. The uploading user is set as the author.
- has a QA test
-
MDLQA-14099 A teacher can import database activity entries including author details
- Open
-
MDLQA-15384 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-15973 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-16617 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-17233 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-17820 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-18324 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-18815 CLONE - A teacher can import database activity entries including author details
- Passed
-
MDLQA-19278 CLONE - A teacher can import database activity entries including author details
- Passed