Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10083

CoreFeature at METHOD granularity must reinit repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF01, 5.7.1
    • Component/s: Tests

      Description

      CoreFeature with @RepositoryConfig at METHOD granularity does not correctly reinitialize the repository before each method

      For instance that the content template are not re-created.

      The is because the fireApplicationStarted runtime event can only be called once per Nuxeo Runtime init, so the repository's initialization handler is not called again (but it should because at METHOD granularity the repository is cleared each time).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: