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

Some buttons allow for multiple submissions when SPA is off

    Details

      Description

      Reproducing steps:

      1. Set the property javascript.single.page.application.enabled=false in the portal-ext.properties file.
      2. Start Liferay.
      3. Go to create a web content.
      4. Once the form is filled, click on the submit button a few times.
        Expected: Just one web content is created.
        Observed: Several web contents are created.

      A similar behavior occurs for:

      • Page creation.
      • Web content structure creation.
      • Web content template creation.
      • Site creation (here you can see a message telling you that site names must be unique, so only one site is created although the form is submitted multiple times.)
      • Blog entry creation.
      • And possibly several others.

      Note: Clicking on the button too many times might result in a database exception.
      Note 2: There is a similar behavior reported in LPS-77387 which should not be confused or be intertwined with the one reported here.

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            ricardo.couso Ricardo Couso
            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:
              2 years, 43 weeks, 6 days ago

                Packages

                Version Package
                7.0.0 DXP FP39
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.0 M1
                7.1.X
                Master