Exemplo n.º 1
0
 def _checkParams(self, params):
     RHContributionMaterialSubmissionRightsBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement(
     ).isSubmitted():
         raise MaKaCError(
             "This contribution has already been judged. You cannot un-submit the materials"
         )
Exemplo n.º 2
0
 def _checkParams(self, params):
     RHContributionMaterialSubmissionRightsBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted():
         raise MaKaCError("This contribution has already been judged. You cannot un-submit the materials")
Exemplo n.º 3
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContributionMaterialSubmissionRightsBase._checkProtection(self)
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
Exemplo n.º 4
0
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContributionMaterialSubmissionRightsBase._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
Exemplo n.º 5
0
 def _checkParams(self, params):
     RHContributionMaterialSubmissionRightsBase._checkParams(self, params)
     if self._target.getReviewManager().getLastReview().getRefereeJudgement().isSubmitted() or \
     (self._target.getReviewManager().getLastReview().getEditorJudgement().isSubmitted() and self._target.getConference().getConfPaperReview().getChoice() == CPR.LAYOUT_REVIEWING):
         raise MaKaCError("This contribution has already been judged. You cannot un-submit the materials")