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

Namespace from embedded Web Content Display is used in subsequent widgets

    Details

      Description

      Steps to Reproduce

      1. Alter the Classic theme to include the following inside of the body tags in portal_normal.ftl (or deploy classic-theme.war for Master):

      <div>
      	<@liferay_portlet["runtime"]
      		instanceId="socialcontent"
      		portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet"
      	/>
      </div>
      

      2. Add a new Web Content Structure with a Text field
      3. Add a new Web Content Template for the structure, deselect "Cacheable", and use the following script (replacing the ID as necessary):

      ${Textcqmx.getData()}
      

      4. Add a new Web Content Article using the structure and filling in the text field
      5. Add a new Widget page
      6. On this new page select the new article in the embedded Web Content Display widget
      7. Add a new user
      8. Under the Password tab, change the user's password and select "Require Password Reset"
      9. Log in as the user
      10. Using the browser tools inspect the password text box

      Expected Results
      The ID of the element is "password1".

      Actual Results
      The ID of the element is "_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_socialcontent_password1".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Jonathan McCann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                18 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP14
                  7.2.10.5 DXP SP5
                  7.2.X
                  7.3.7 CE GA8
                  7.3.10 DXP FP2
                  7.3.X
                  7.4.1 CE GA2 DXP 7,4
                  Master