Uploaded image for project: 'Magnolia Data Module (closed)'
  1. Magnolia Data Module (closed)
  2. MGNLDATA-266

2.2 deltas - Exception thrown if item exists - Blocks execution of next deltas

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 2.2
    • None

    Description

      The deltas related to data module 2.2. are executed when upgrading to magnolia 5.

      One of those tasks calls the class info.magnolia.module.data.setup.DataTypeToContentAppTask which throws a TaskExecutionException when an item already exists. This leads to other tasks not executed afterward...
      @see: info.magnolia.module.data.setup.DataTypeToContentAppTask#processApp

      I guess this should be just a warning a leave the execution of other tasks?

      This is called from info.magnolia.module.data.setup.DataModuleVersionHandler:

      .addTask(new DataTypesToContentAppsTask("Create apps", "Creates new apps for custom data types", new String[] { "Contact", "RssAggregator", "category" }))

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              bugs Benoit Olbrechts
              Benoit Poncelet, Hugo Venancio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: