Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10096

Migrate ContentTypesHelper to new cache system

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.3.0
    • None
    • None
    • None
    • 4.3 RC1

      Those maps should be replaced by Cache objects

      /**
       * Cache containing view metadata sets
       * @deprecated use {@link #_viewCache} instead
       */
       @Deprecated
       private Map<String, Map<String, MetadataSet>> _cacheForView = new HashMap<>();
       
       /**
       * Cache containing edition metadata sets
       * @deprecated use {@link #_viewCache} instead
       */
       @Deprecated
       private Map<String, Map<String, MetadataSet>> _cacheForEdition = new HashMap<>();
       
       /**
       * Cache containing content types' views
       * The key is a cache identifier that is a concatenation of the identifiers of the concerned content types and mixins
       * The value is a Map containing the views by their names
       */
       private Map<String, Map<String, View>> _viewCache = new HashMap<>();

          [CMS-10096] Migrate ContentTypesHelper to new cache system

          Kepa Bourgoin made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Raphaël Franchet made changes -
          Status Original: Functional review OK [ 10207 ] New: Ready to merge [ 10208 ]
          Raphaël Franchet made changes -
          Status Original: Available for review [ 10005 ] New: Functional review OK [ 10207 ]
          Simon Prieul (Inactive) made changes -
          Rank New: Ranked higher
          Simon Prieul (Inactive) made changes -
          Rank New: Ranked higher
          Simon Prieul (Inactive) made changes -
          Assignee Original: Simon Prieul [ sprieul ] New: Raphaël Franchet [ raphael ]
          Simon Prieul (Inactive) made changes -
          Assignee New: Simon Prieul [ sprieul ]
          Raphaël Franchet made changes -
          Sprint New: 4.3 M8 [ 40 ]
          Kepa Bourgoin made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]

            raphael Raphaël Franchet
            kbourgoin Kepa Bourgoin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: