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

Automatic Correct of breaking changes fails if selected from right click.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      0. Unzip the attached 6.2 POC code (rhythm-dummy.zip)
      1. Open Liferay Developer Studio 3.4.0.201811020125
      2. Go to Project - Liferay Code Upgrade Tool
      3. Select rhythm-dummy, and 7.1
      4. Click Import Projects
      5. At pom file upgrade, click the check mark as no files need to be upgraded
      6. At the breaking changes dialog, Click the icon "Find Breaking Changes" at the bottom-right
      7. Select Project "rhythm-dummy", click OK
      8. 3 problems are found, com.liferay.portal.model.User needs to be converted to com.liferay.portal.kernel.model.User
      9. Select all 3 checkboxes in the bottom-left pane, then right click, and choose Correct Automatically

      Expected: The correction happens without errors
      Actual: A popup occurs with the error "Error in migrate command
      Operation only supported in JLS2 AST"

      Note: If you click the second icon, "Automatically Correct Problems", the upgrade finishes successfully.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                44 weeks, 1 day ago

                Packages

                Version Package
                3.5