Rogue Activation of Constraints in Settings Activity
Closed this issue · 1 comments
russelltankaimin commented
Constraints in the Python script get activated and enforce despite the settings configured both to Constraints to be false.
Updates seem to be correctly captured in the Java side. Postulated to be an error in the Python script on Heroku.
russelltankaimin commented
Fault found : Python's boolean method bool()
returns True for every single non-empty string. So during the Http Request Body that was sent, bool("false")
and bool("true")
results in True
which explains why the Constraints get activated even though the settings specified false. It is a good learning point.