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"
         )
 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")
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContributionMaterialSubmissionRightsBase._checkProtection(self)
     else:
         raise MaKaCError(_("Paper Reviewing is not active for this conference"))
 def _checkProtection(self):
     if self._target.getConference().hasEnabledSection("paperReviewing"):
         RHContributionMaterialSubmissionRightsBase._checkProtection(self)
     else:
         raise MaKaCError(
             _("Paper Reviewing is not active for this conference"))
Example #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")