mdcpp / mdoj

Mingdao OnlineJudge, A performant contest management system base on cutting edge stack.
https://mdcpp.github.io/mdoj/
5 stars 1 forks source link

Cannot add problem to another contest if problem has been in contest that deleted #65

Closed Eason0729 closed 3 months ago

Eason0729 commented 3 months ago

Cannot add problem to another contest if problem has been in contest that deleted

It doesn't happen if it's testcase, as the expect behavior for testcase is deleted if problem deleted.

KAIYOHUGO commented 3 months ago

@Eason0729 so we can close this now?

Eason0729 commented 3 months ago

There is a commit on my fork attemping to solve this.

Eason0729 commented 3 months ago

It should work, I will test it later to determine whether we should close the issue.

Eason0729 commented 3 months ago

I just test it and it work.

Maybe we need some automatic testing

I will close this issue.