Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2995

Problem with feature dependencies and deactivations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.3.0
    • 4.2.0
    • None
    • 4.3 M6

      For instance, if in plugin core we add the following dependency :

      feature name="runtime.core.datasource.sql" depends="core-impl/runtime.current-user"

      Which is correct (SQLDataSourceManager depends on CurrentUserProvider), then a web application does not boot anymore :

      The feature 'core/runtime.core.datasource.sql' depends on 'core-impl/runtime.current-user' which is not present. It will be ignored.
      The feature 'repository/provider.jackrabbit' depends on 'core/runtime.core.datasource.sql' which is not present. It will be ignored.
      The component for role 'javax.jcr.Repository' should point to id 'org.ametys.plugins.repository.provider.JackrabbitRepository' but no component match

      We should keep an override-mapping up to date and test the override, not the initial feature.

      But since v4, we do not talk about override but deactivate, which have not the same meaning.

            sprieul Simon Prieul (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: