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

An init class is always executed even if it is in a excluded feature

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.1.4, 4.2.0
    • 4.0.1, 4.1.0
    • None
    • None

      I have the following init class

      <feature name="init.table-ref" depends="init">
              <extensions>
                  <extension point="org.ametys.runtime.plugin.InitExtensionPoint"
                             id="org.ametys.odf.PopulateOdfTableRef"
                             class="org.ametys.odf.PopulateOdfTableRef">
                 </extension>
              </extensions>
          </feature>
      

      The feature is excluded in runtime.xml

      <plugins>
          	<exclude>
                  <feature>odf/init.table-ref</feature>
          	</exclude>
          </plugins>
      

      But the PopulateOdfTableRef continue to be executed

            cedric Cédric Damioli
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: