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

Update task fails on NPE

XMLWordPrintable

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

       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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD