Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3090

Should support creating folder if back up location doesn't exist

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0 M2
    • 3.1 M3
    • Upgrade Planner
    • None

    Description

      1. liferay code upgrade tool
      2. enter valid maven project location
      3. checked "Backup project into folder"
      4. change to a folder which not exist, for example D:/QA/nonexistent-folder
      5. click "Import Projects" button

      error in error log:

      Error to backup original project folder.
      java.io.FileNotFoundException: D:\QA\oxygen-m2\code-upgrade-test-maven\backup.zip (The system cannot find the path specified)
      at com.liferay.ide.core.util.ZipUtil.zip(ZipUtil.java:252)
      at com.liferay.ide.core.util.ZipUtil.zip(ZipUtil.java:242)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.backup(InitConfigureProjectPage.java:333)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage.access$20(InitConfigureProjectPage.java:312)
      at com.liferay.ide.project.ui.upgrade.animated.InitConfigureProjectPage$16.run(InitConfigureProjectPage.java:1092)

      Attachments

        Activity

          People

            joye.luo Joye Luo (Inactive)
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 15 weeks, 1 day ago

              Packages

                Version Package
                3.1 M3