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

Avoid initializing user related variables for template twice

    Details

      Description

      Currently we have two places to initialize user related variables for template engine, one is in init.ftl/init.vm, another is in UsersTemplateContextContributor.

      We did this because themes developed against GA2 may throw errors when deployed in GA1, see more details here https://issues.liferay.com/browse/LPS-66428.

      To avoid same variable initialized twice, we set a falg once the variables are initialized and check the flag in init.ftl/init.vm.

      This issue can not be tested manually.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              tina.tian Tina Tian
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 1 week ago

                  Packages

                  Version Package
                  7.0.0 DXP SP2
                  7.0.0 DXP FP13
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.1.X
                  Master