Uploaded image for project: 'Community Data Access'
  1. Community Data Access
  2. CDA-188

Using "security:principalRoles" as cache key creates a new entry on the cache every time the query is run

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Unknown
    • Resolution: Fixed
    • Affects Version/s: 5.4.0.1 GA
    • Fix Version/s: 7.0.0 GA, 6.1-16.08.18
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Google Chrome 48.x
    • Operating System/s:
      Windows 8.1 (64 bit)
    • Steps to Reproduce:
      Hide

      1. Open attached dashboard
      2. Refresh the dashboard
      3. Open CDA Cache Manager and notice two queries were run

      Show
      1. Open attached dashboard 2. Refresh the dashboard 3. Open CDA Cache Manager and notice two queries were run

      Description

      Actual Result
      Two query entries with 0 hits

      Expected Result
      One query entry with 1 hit

      Note
      This is happening because "security:principalRoles" returns a list of values. That is not handled correctly by CDA and is returning an object to the cache keys.

        Attachments

          Activity

            People

            • Assignee:
              wfaulkner William Faulkner
              Reporter:
              elopes Eduardo Lopes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: