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

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

    XMLWordPrintable

Details

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

    Description

      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(...);
          }
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD