Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4121

Don't declare again default workflow cache contribution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 63.1
    • Fix Version/s: 64
    • Component/s: Workflow

      Description

      Since NXP-22659, default workflow contribute a cache to the platform which make an error when you try to deploy a studio project because studio define these cache again.

      Please remove from 9.2, such contributions as they are already in the platform: (note that only cache contribution is a problem when deploying a studio project)

         <extension target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory" point="directories">
            <directory name="WorkflowType">
              <schema>vocabulary</schema>
              <dataSource>java:/nxsqldirectory</dataSource>
              <idField>id</idField>
              <autoincrementIdField>false</autoincrementIdField>
              <createTablePolicy>on_missing_columns</createTablePolicy>
              <table>studio_vocabulary_WorkflowType</table>
              <dataFile>data/vocabularies/WorkflowType.csv</dataFile>
             <cacheEntryName>vocab-WorkflowType-cache</cacheEntryName>
             <cacheEntryWithoutReferencesName>vocab-WorkflowType-cache-without-references</cacheEntryWithoutReferencesName>
            </directory>
          </extension>
         <extension target="org.nuxeo.ecm.core.cache.CacheService" point="caches">
           <cache name="vocab-WorkflowType-cache" class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl">
             <option name="maxSize">1000</option>
             <option name="concurrencyLevel">500</option>
             <ttl>60</ttl>
           </cache>
           <cache name="vocab-WorkflowType-cache-without-references" class="org.nuxeo.ecm.core.cache.InMemoryCacheImpl">
             <option name="maxSize">1000</option>
             <option name="concurrencyLevel">500</option>
             <ttl>60</ttl>
           </cache>
         </extension>
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.