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

As a portal user, forms should not be resubmitted if internal errors occur using SPA

    Details

      Description

      There were some functionality issues that were lingering that may be due to SPA. In certain cases (like on slow servers), content would sometimes be added twice due to an additional request being sent. This was to be dealt with by making sure the timeout was set to an infinite (or very long) time, as well as be configurable. This was completed in LPS-66990

      In the case of errors though, it is still possible to resubmit a form, which could send a duplicate request, if internal errors are thrown or a status error is given:
      https://github.com/liferay/liferay-portal/blob/d5f70a7/modules/apps/foundation/frontend-js/frontend-js-spa-web/src/main/resources/META-INF/resources/liferay/app/App.es.js#L125

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.0 DXP FP19
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  Master