Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1797

Standardized the ordering of *ServiceImpl's add/delete/update()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
    • Component/s: None
    • Labels:
      None
    • Environment:
      All

      Description

      The order in which *LocalServiceImpl classes implement add(), delete() and update() has been standardized. This standardization will address inconsistency issues such as the following:

      • Model listeners do not always have access to Expando attributes
      • When a social activity is logged
      • Emails/subscriptions are sometimes sent before an entry has been saved

      The new ordering when adding/updating:

      expando, model, resource, portal package, local package, other package, indexer, status, file, email / subscribers, ping

      The new ordering when deleting:

      model, resource, portal package, local package, other package (expando is in here) indexer, status, file, email / subscribers, ping

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mingda.yi Kevin Yi (Inactive)
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)