Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-127082

Add deprecation warning to Liferay.on/Liferay.fire APIs

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Discarded
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:
      S04E09 - Transistor OST, S04E10 - Black Holes & Reve..., S04E11 - Night Visions, S04E12 - Hail to the Thief, S04E13 - Wintergatan

      Description

      Once Implement and integrate Global JS Store mechanism in DXP is completed, we want to gradually move away from that API and into the new one.

      As a first step, it could be important to show consumers of the API a deprecation notice and steps to migrate to the new set of APIs.

      Acceptance Criteria

      • A warning or info level notice is presented in the Developer Tools Console when one of the Liferay global event APIs is invoked:
        • Liferay.on, Liferay.once
        • Liferay.before, Liferay.after
        • Liferay.onceAfter, Liferay.onceBefore?
        • Liferay.fire

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              jose.balsas Chema Balsas
              Recent user:
              Greg Hurrell
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package