Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-1309

[CLI] [KANTRA] Rules transformation doesnt work if input and output directories are the same

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 7.0.0
    • upstream
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      When tunning a transform command, if both input and output arguments point to the same path, the command will do nothing  but no error will be displayed

      Version-Release number of selected component (if applicable): upstream 

      How reproducible: Always

      Steps to Reproduce:
      1. Run the following command: 

      ./kantra transform rules  --input /path/to/rules/folder --output /path/to/rules/folder

      Be sure to provide both arguments with the same path

      Actual results:

      Some output is displayed but there are no performed actions nor visible errors

      Expected results:

       The command should complete successfully or give an error if the input and output paths can't be the same.

        1. image-2023-09-21-17-08-38-069.png
          39 kB
          Alejandro Brugarolas
        2. image-2023-10-10-13-40-40-768.png
          11 kB
          Alejandro Brugarolas

              emcmulla@redhat.com Emily McMullan
              rh-ee-abrugaro Alejandro Brugarolas
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: