lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master f5c7c0b 5/5: Expunge obsolete '--pyx=off_mont


From: Greg Chicares
Subject: [lmi-commits] [lmi] master f5c7c0b 5/5: Expunge obsolete '--pyx=off_monthiversary' option
Date: Tue, 10 Jul 2018 18:01:25 -0400 (EDT)

branch: master
commit f5c7c0b795c70c938b0f8b334e970c5b33590c95
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Expunge obsolete '--pyx=off_monthiversary' option
---
 input_harmonization.cpp | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/input_harmonization.cpp b/input_harmonization.cpp
index 042b3cc..6aa8f6a 100644
--- a/input_harmonization.cpp
+++ b/input_harmonization.cpp
@@ -1113,26 +1113,13 @@ void Input::set_inforce_durations_from_dates()
         ,InforceMonth .value()
         ,true
         );
-    // After testing in production, either remove the "pyx" bypass, or
-    // redesign this. Replacing alarum() with warning() would cause
-    // multiple messageboxes, which is unavoidable if the diagnostic is
-    // to be given when GUI input enters an invalid state, and also
-    // whenever an illustration is about to be produced.
-// Fails:
-//   File | New | Illustration
-//   subtract one day from "Effective date"
-//   OK
-//   Illustration | Edit cell... [fails irrecoverably]
-// Therefore, these diagnostics are temporarily suppressed for input
-// files created by lmi--but not for extracts from vendor systems,
-// whose dates should not be altered by lmi users.
-    if(expected != InforceAsOfDate.value() && 
!contains(global_settings::instance().pyx(), "off_monthiversary"))
+    if(expected != InforceAsOfDate.value())
         {
         warning()
             << "Input inforce-as-of date, "
             << InforceAsOfDate.value().str()
-            << ", should be an exact monthiversary date."
-            << "\nIt will be interpreted as "
+            << ", is not an exact monthiversary date."
+            << "\nIt must change to "
             << expected.str()
             << ", which is "
             << InforceYear



reply via email to

[Prev in Thread] Current Thread [Next in Thread]