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

Remote App edit page is not available after upgrading portal

    Details

      Description

      Steps to Reproduce:

      1. Add a remote app to 7.3 portal
        May use attached mysql and data folderĀ 73_DB_WithRemoteApp.zip
      2. upgrade 7.3 to master
      3. Navigate to Remote Apps admin
      4. Click on remote app name to edit

      Expected Result:
      Fields were saved properly from upgrade and able to edit remote app fields

      Actual Result:
      Page does not render fields and error message present on the page: Portlet is temporarily unavailable.

      Stacktrace error:

      2021-09-23 17:13:14.605 ERROR [http-nio-8080-exec-8][PortletServlet:119] javax.portlet.PortletException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20097, name=com.liferay.remote.app.model.RemoteAppEntry, primKey=37276, scope=4}
      javax.portlet.PortletException: java.lang.IllegalArgumentException: Someone may be trying to circumvent the permission checker: {companyId=20097, name=com.liferay.remote.app.model.RemoteAppEntry, primKey=37276, scope=4}
      	at com.liferay.remote.app.web.internal.portlet.action.EditRemoteAppEntryMVCRenderCommand.render(EditRemoteAppEntryMVCRenderCommand.java:60) ~[bundleFile:?]
      	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:282) ~[portal-kernel.jar:?]
      

      Full stacktrace: https://gist.github.com/john-co/4a662765f236b975621b348b18064cf0

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7
      Portal master GIT ID: 5f7e960823811f2a65572bfe0ae8d9b0ada1bb94

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              javier.dearcos Javier de Arcos Velilla
              Reporter:
              john.co John Co
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Engineering Assignee:
              Javier de Arcos Velilla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master