database duplicate value problem

database duplicate value problem

by Abrar Abeer -
Number of replies: 2

Hello,

In my moodle site, I would like to add same course to multiple categories. 

Like,

a course category has a course named "object oriented programming II" (fullname) and "CSE-2401" (shortname).

I would like to add same course having same fullname and same shortname in different category.


Every time I tried, it ended up with errors like duplicate or data already exists.


Please let me know if it is possible to do what I want to do.


Thanks in advance. smile

Average of ratings: -
In reply to Abrar Abeer

Re: database duplicate value problem

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Currently, it is not possible. You will need to change the name for the second copy of the course. I used to have the same problem and just added something about the semester, as our school had two semesters each school year. For me it was simple to add S1 and S2 to the names. You could do something similar to fit you situation.