[OPENAM-13426] EncryptSAMLIDPSPBasicAuthPwdStep fails in upgrade Created: 09/Aug/18 Updated: 25/Jul/19 Resolved: 13/Aug/18
|Affects Version/s:||13.5.2, 5.5.1, 6.0.0, 126.96.36.199, 188.8.131.52, 14.1.2, 184.108.40.206, 6.5.0|
|Fix Version/s:||12.0.5, 13.5.3, 14.1.2, 220.127.116.11, 6.5.0, 6.0.1, 5.5.2|
|Reporter:||Lawrence Yarham||Assignee:||Lawrence Yarham|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Sprint:||AM Sustaining Sprint 53|
|Support Ticket IDs:|
|Needs QA verification:||
AM upgrade from 6.0.0 to 18.104.22.168 or 13.5.1 to 13.5.2 fails for EncryptSAMLIDPSPBasicAuthPwdStep
Am unable to reproduce at present. Believe this relates to a SAML entity present from AM 10 which has been carried through at least one previous upgrade.
Have ruled out an upgrade for an env that has no SAML entities, then a SAML entity created using the Applications tab (rather than dashboard and e.g. Create hosted IdP).
Upgrade from 13.5.x to 22.214.171.124 directly. The upgrade step is only performed in 126.96.36.199 for original versions of 6.0.0 and later.
There needs to be a null check guard just before line 164 (code version from 13.5.2). Its unclear as to why an entityConfig of null would result from the call at the second line below, but this is causing the issue.