New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
close task immediately #189
Conversation
@@ -4574,6 +4600,12 @@ public SoftwareCompetition updateSoftwareContest(TCSubject tcSubject, SoftwareCo | |||
contest.setProjectData(projectData); | |||
contest.setId(projectData.getProjectHeader().getId()); | |||
|
|||
|
|||
if (!isPrivateProject(contest) && ("1".equals(oldProject.getProperty(ProjectPropertyType.PRIVATE_PROJECT)))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajefts do we need this logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is saying that we'll remove registrants if we switch from private to public, then no...we don't want that. We shouldn't remove the registrants if we convert a private task to public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it'll remove current registrants if we switch to public. So just remove those two lines if you want otherwise
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skyhit Overall the code looks reasonable to me. Let's get it into dev so we can test it. Speaking of testing, could we get some automated tests going?
@skyhit @deedee I'm getting this error when I try to load a closed task in Online Review. I'm thinking we might be missing a step(s) when creating the fake submission?
|
Could you attach the full log. BTW I've tried to run OR docker image as directed on this https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/online_review. But can not login and always got this |
@deedee is this related to informix database? does informix docker up properly? |
Informix is up.
|
@deedee did you login? is the page shown properly? |
No description provided.