[OPENAM-4164] AgentsRepo may have cached stale ServiceConfigImpl, returning incorrect agent profile data. Created: 07/Jul/14  Updated: 20/Nov/16  Resolved: 23/Feb/15

Status: Resolved
Project: OpenAM
Component/s: idrepo
Affects Version/s: 11.0.0
Fix Version/s: 10.0.3, 11.0.4, 12.0.1, 13.0.0

Type: Bug Priority: Major
Reporter: Sachiko Wallace Assignee: Sachiko Wallace
Resolution: Fixed Votes: 0
Labels: EDISON, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Target Version/s:
Sprint: Sprint 77 - Sustaining
Support Ticket IDs:


AgentsRepo caches ServiceConfig instance as 'orgConfigCache' which returns valid since smsEntry in ServiceConfigImpl returns valid(true), but it references ServiceSchemaImpl(ss) which has been cleared so it wouldn't be able to return correct data.

We should check ServiceSchemaImpl (ss) in ServiceConfigImpl has a. subSchemas.isEmpty() b. ssm == null c. orgAttrSchema == null within ServiceConfigImpl#isValid() then depending on the value, we should clear scm within AgentsRepo#getOrgConfig

Comment by Sam Drew [ 09/Oct/14 ]

Are there any updates on this issue?

Comment by Sachiko Wallace [ 09/Oct/14 ]

submitted a new proposal in CR

Comment by Chris Lee [ 11/Jan/16 ]

Tidied up Jira title for 13 release notes - hopefully not too far from the mark.

Generated at Tue Oct 27 03:10:09 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.