URB-3640: implement pm ep courrier commune notification#570
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis pull request adds support for the ChangesNotice Type Feature Enablement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
7391aa7 to
591781a
Compare
| "DEMANDE_AVIS_FACULTATIF_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ENQUETE_PUBLIQUE_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ANNONCE_PROJET_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ANNONCE PROJET_PLAN_MODIFIE_1_ERE_INSTANCE", |
There was a problem hiding this comment.
There is a withspace in the code, please remove it
There was a problem hiding this comment.
There is still a whitespace in the code.
| "DEMANDE_AVIS_FACULTATIF_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ENQUETE_PUBLIQUE_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ANNONCE_PROJET_PLAN_MODIFIE_1_ERE_INSTANCE", | ||
| "DEMANDE_ANNONCE PROJET_PLAN_MODIFIE_1_ERE_INSTANCE", |
There was a problem hiding this comment.
There is still a whitespace in the code.
6f3b6aa to
0a9e239
Compare
| failed_notice_id, exc, retry=True | ||
| ) | ||
| logger.exception( | ||
| u"%s", |
| savepoint.rollback() | ||
| custom_exc = ErrorProcessingNotificationException(notice_id, exc) | ||
| logger.exception( | ||
| u"%s", |
| except Exception as exc: | ||
| custom_exc = FailedGettingRecentNotificationsException(exc) | ||
| logger.exception( | ||
| u"%s", |
| u"<p>${msg} for informations: ${data}</p>", | ||
| "<p>${msg} for informations: ${data}</p>", | ||
| mapping={ | ||
| "msg": msg, | ||
| "data": u", ".join( | ||
| [u"{0}: {1}".format(k, v) for k, v in serialized_data.items()] |
| self.event.setDecision(urban_decision_term) | ||
| else: | ||
| self.event.setDescription( | ||
| u"Décision: {}".format(self.notification.decision_code) |
| self.event.setDecision(urban_decision_term) | ||
| else: | ||
| self.event.setDescription( | ||
| u"Décision: {}".format(decision_code) |
This PR implements notification handling for PM_EP_COURRIER_COMMUNE
Summary by CodeRabbit