Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3748

An *update* should also apply conditions on web.xml (checking dispatchers for example)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.4.5
    • 4.4.4
    • core
    • None

      Since MAGNOLIA-3338, we have an install condition, checking that all necessary dispatchers are setup in the web.xml file. This should also be checked on updates !

      When extending AbstractModuleVersionHandler, this can be done two ways:

          // these conditions will only be checked when applying this specific version update:
          register(DeltaBuilder.update(...)
            .addCondition(...)
            .addTask(...)
            ...
          );
      
          // these conditions will be applied for each update (i.e applied N times if we update across N versions)
          @Override
          protected List<Condition> getDefaultUpdateConditions(Version forVersion) {
              return Arrays.asList(...);
          }
      

        Acceptance criteria

              dlipp Daniel Lipp
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD