Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5665

TempFilesManager.toStandardFileName not returning extension for temp files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2
    • 6.2
    • framework
    • None

      The following test is failing

      @Test
      public void toStandardFileNameTempFile() {
          // GIVEN
          String fileName = "___name.png";    // WHEN
          String standardFileName = tempFilesManager.toStandardFileName(fileName);    // THEN
          assertThat(standardFileName, is("name.png"));
      } 

        Acceptance criteria

              rdhar Rishab Dhar
              jalonso Jesus Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD