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

[Custom migration targets] Unclear error when uploading image greater than 1Mb of size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • MTA 6.1.0
    • MTA 6.1.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No
    • Moderate

      Description of problem:

      When uploading an image for a custom migration target, the image should be up to 1Mb of size.
      In the case of a bigger image, there is an error that is not informative enough: "imageID must be defined". After few seconds the note under the image name is restarted to: "Upload a png or jpeg file".

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

      MTA 6.1.0-3

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create/Edit a custom migration target
      2. Upload an image with a size greater than 1Mb as the custom target icon

      Actual results:

      An error message is displayed: "imageID must be defined" under the image name.
      After few seconds the note is restarted to: "Upload a png or jpeg file".

      Expected results:

      • The error message should be more informative regarding the image size is not compatible.
      • The error message does not disappear until uploading another image (a good one) OR pressing the Clear button to restart the image upload process

            ibolton@redhat.com Ian Bolton
            mguetta1 Maayan Hadasi
            Maayan Hadasi Maayan Hadasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: