[OPENAM-12822] No URL resource is created for subsubrealms Created: 06/Apr/18  Updated: 26/Jul/19  Resolved: 20/Jun/18

Status: Resolved
Project: OpenAM
Component/s: None
Affects Version/s: 13.5.2, 14.1.1, 14.5.0, 5.5.1
Fix Version/s: 13.5.3, 14.1.2, 5.5.2

Type: Bug Priority: Major
Reporter: Pilar Gomez [X] (Inactive) Assignee: Lawrence Yarham
Resolution: Fixed Votes: 0
Labels: Backlog, EDISON
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2018-04-11 at 15.29.52.png     PNG File subsubrealm551.png    
Target Version/s:
Rank: 1|hzvptj:
Sprint: AM Sustaining Sprint 52
Story Points: 3
Verified Version/s:


Bug description

Some config is missing from subsubrealms in the Data Store. It makes the upgrade process extra difficult (see OPENAM-12742 ) - That means that there will not be an URL resource at all in subsubrealms

How to reproduce the issue

  1. step 1
    Install AM 5.5.1
  2. step 2
    Create a subrealm
  3. step 3
    Create a subsubrealm
  4. step4
    Go to the recently created subsubrealm -> authorization -> resource types (screenshot attached)
    Alternatively, you can go to Open the Apache Directory Studio and inspect what has been created (screenshot attached)
Expected behaviour

The url resource is available in a subsubrealm, the same way it is in subrealms and root realm

Current behaviour

The url resource is not available in a subsubrealm.

Code analysis

Changes to fix this issue have been done as part of the following Jira for AM6 (they may be back-portable): AME-12583

Comment by Pilar Gomez [X] (Inactive) [ 11/Apr/18 ]

CC:Jonathan Thomas - I have updated the bug. I know it has been triaged, but when it was opened it didn't make much sense, as I wasn't able to figure out what was the effect of the missing fields in the database.

The problem is basically that there is no URL resource for subsubrealms. That is something that we may need to fix (a bit more important that something that may or may not be used missing from the data store)

Comment by Ľubomír Mlích [ 26/Jul/19 ]

Verified in ForgeRock Access Management 5.5.2-M6 Build 871fe7a608 (2019-July-23 10:08), there is URL resource type in second subrealm as shown in screenshot, comparing to AM 5.5.1, where it is not.

Generated at Sat Mar 06 01:02:55 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.