Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4352 New Liferay Upgrade Tool
  3. IDE-3363

Upgrading references to Service Builder entity exception classes

    Details

    • Type: Sub-Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Someday
    • Fix Version/s: None
    • Component/s: Upgrade Planner
    • Labels:
      None

      Description

      according to Jim email :

      Hey Greg, Andy,

      There's a 7.0 breaking change I plan to add for Service Builder exception entities. 

      In 6.2, <exception> elements were created in the service-builder package-path="value-here"

      In 7.0, exception element classes are created in {service builder package-path}/exception

      For example, compare the microblogs-portlet's service builder exception class location from 6.2 to 7.0. 

      6.2 location: 

      microblogs-portlet/docroot/WEB-INF/service/com/liferay/microblogs/

      7.0 location:

      microblogs-portlet/docroot/WEB-INF/service/com/liferay/microblogs/exception/

      It would be great if the Code Upgrade Tool could update paths in Service Builder exception references to match their new location.

      What do you think?

       

      Hi Andy,

      I understand that service-builder takes care of generating the exception classes in the new location. I'm requesting that the Code Upgrade Tool update references (e.g., Class Bar creates a NoSuchFooException, but its import still points to the old location) to those exception classes. Other classes that use/reference the moved exception classes need to be updated.

        Attachments

          Activity

            People

            • Assignee:
              lr_ide LR IDE
              Reporter:
              andy.wu Andy Wu (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                3 years, 10 weeks, 6 days ago

                Packages

                Version Package