You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user has accepted 1 or more AUP's for services, it is expected that there is a voPersonPolicyAgreement for each service.
It is found that the current Test does not process the AUP correctly if a user has accepted more than 1 AUP's.
The error is in this line:
for a in person_object[list(person_object)[0]]:
if a.startswith('voPersonPolicyAgreement'):
policy_agreement_attribute = True
break
The logical error here is that from the attributes of the person object, only the first attribute is checked to see if it matches the string 'voPersonPolicyAgreement', off cours that is very unlikely to be the case.
The reason this error has not been signalled before, is because the CI tests all run with fresh data seed where no-user hase accepted any AUP yet. The check then does no fire.
This correct logic is:
for a in person_object:
if a.startswith('voPersonPolicyAgreement'):
policy_agreement_attribute = True
break
The text was updated successfully, but these errors were encountered:
When a user has accepted 1 or more AUP's for services, it is expected that there is a voPersonPolicyAgreement for each service.
It is found that the current Test does not process the AUP correctly if a user has accepted more than 1 AUP's.
The error is in this line:
The logical error here is that from the attributes of the person object, only the first attribute is checked to see if it matches the string 'voPersonPolicyAgreement', off cours that is very unlikely to be the case.
The reason this error has not been signalled before, is because the CI tests all run with fresh data seed where no-user hase accepted any AUP yet. The check then does no fire.
This correct logic is:
The text was updated successfully, but these errors were encountered: