Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-77

Update task fails on NPE

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.2, 2.2
    • 2.0.1
    • None
    • None

    Description

       117         register(DeltaBuilder.update("2.0.2", "")
      118                 .addTask(new CheckAndModifyPropertyValueTask("Config", "Commands configuration", RepositoryConstants.CONFIG, "/modules/resources/commands/resources/versionResources/extractComment", "class",
      119                         Arrays.asList("info.magnolia.module.resources.commands.ExtractCommentCommand", "info.magnolia.module.admininterface.commands.ExtractCommentCommand"),
      120                         "info.magnolia.commands.impl.ExtractCommentCommand"))
      121                 );
      122     }
      

      If node "/modules/resources/commands/resources/versionResources/extractComment" doesn't exist, task will fail on NPE.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jchocholacek Jozef Chocholacek
                jsimak Jaroslav Simak
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD