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

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0 M2
    • Fix Version/s: 3.1 M3
    • Component/s: Upgrade Planner
    • Labels:
      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

            Assignee:
            joye.luo Joye Luo (Inactive)
            Reporter:
            yanan.yuan Yanan Yuan(Ashley Yuan)
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 46 weeks, 6 days ago

                Packages

                Version Package
                3.1 M3