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

RenameNodesTask only works for CONFIG workspace

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.4.7
    • None

    Description

      RenameNodesTask is only working for CONFIG workspace, however it accepts workspace as parameter. This workspace it is not used, because RepositoryConstants.CONFIG is hardcoded in the construstor.

       public RenameNodesTask(String name, String workspace, String path, String oldName, String newName, String nodeType) {
              this(name, String.format("Rename all nodes of type '%s' under path '%s:%s' from '%s' to '%s'.", nodeType, workspace, path, oldName, newName),
                      RepositoryConstants.CONFIG, path, oldName, newName, nodeType);
          }
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD