Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-12196

Ensure CachingProjectComponentStore caches the same values as the database

XMLWordPrintable

      Currently CachingProjectComponentStore caches component ids to ProjectComponents and ProjectComponents contain its GenericValue representation as well.

      However this generic value representation is before the write to the database and does not necessarily reflect the generic value after the write to the database.
      This becaomes obvious and erroneous in databases such as oracle which treats empty strings as NULL. JRA-12193 - Ensures components are not created with any empty string values, however this brings inconsistencies within the CachingProjectComponentStore, as the generic value within a cached ProjectComponent object will have NULL but the value inside the ProjectComponent will be an empty string.

              sam@atlassian.com Sam Chang [Atlassian]
              sam@atlassian.com Sam Chang [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: