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

When switching a Display Page editable item from mapping to editable, the <div> element created inside to allow it to be edited dissapears after a set time, preventing it from being edited again

    Details

      Description

      Description
      Users may want to switch between lfr-editable items to be mapping/editable as they update their website. However, when changing the state from mapping to editable, the div inside dissapears after a short time, preventing it from being editable again. The workaround would be to delete the whole fragment and re-add it, which is really annoying

      Steps to Reproduce

      1. Create some fragment with lfr-editable text items
      2. Create a display page
      3. add your fragment to the display page
      4. Map your fragment texts to text field of generic basic web content
      5. Update the State of Fragment to Map for the page (publish and come back)
      6. Assert your Fragment Editables are set to mapped
      7. Try to change one of them from mapping -> edit and edit the text

      Expected Result
      Editable state stays until you hit enter or click out

      Actual Result
      Editable state ends after a short period of time

      Reproduced on Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 3e0ccd1533b5e753016c3444ba6b2c38a56e105e

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            kyle.miho Kyle Miho
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 24 weeks, 5 days ago

                Packages

                Version Package
                7.1.X
                Master