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

              summer.zhang Summer Zhang
              jonathan.mccann Jonathan McCann
              Marta Elicegui Marta Elicegui
              Jonathan McCann Jonathan McCann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 30 weeks, 1 day 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
                  7.4.13 DXP GA1
                  Master