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

The applied JavaScript Extension won't be executed on page

Description

    Step to reproduce:

    1. Enable feature via groovy script
      import com.liferay.portal.util.PropsUtil;
      import java.util.Properties;
      
      Properties properties = new Properties();
      properties.setProperty("feature.flag.LPS-153457","true");
      PropsUtil.addProperties(properties);
      
    2. Add a new site
    3. Upload the attachment js file to DM
    4. Get the latest version URL of document
    5. Add a remote app based on global javascript
    6. Add a widget page
    7. Add a JavaScript Extension using the remote app
    8. Navigate to widget page

    Expected Results:
    The header title should be Welcome.

    Actual Results:
    The header title is still page name.

    Reproduced on:
    Tomcat 9.0.56 + MySQL 5.7. Portal master GIT ID: a173a7bc3c730535cb50bc44a3ba1c18ae5baf90.

    Attachments

      Activity

        People

          victor.galan Victor Galan
          yang.cao Yang Cao
          Oziel Souza Oziel Souza
          Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:
            10 weeks, 5 days ago

            Packages

              Version Package