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

"No SAPEntry exists with the key" error causing issues with Form and Calendar portlets when using Virtual Instances

    Details

      Description

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.29. Portal master GIT ID: eeb0daf46756a77c24984bf345089ce61df8abfb.

      Not Reproducible on earlier commit:
      Tomcat 8.0.32 + MySQL 5.6.29. Portal master GIT ID: 965ae0b17522b2423953229f9ca1f915269a1722.

      Steps to Reproduce - Calendar:

      1. Go to Control Panel > Virtual Instances
      2. Add New Virtual Instance
      3. Login to new portal instance
      4. Add Calendar to the Welcome page
      5. Add event
      6. Save event
      7. Click on event in the scheduler
      8. Click Delete

      Expected Result:
      Event can be deleted.

      Actual Result:
      Event is not deleted.

      Steps to Reproduce - Forms:

      1. Go to Control Panel > Virtual Instances
      2. Add New Virtual Instance
      3. Login to new portal instance
      4. Go to Content > Forms
      5. Go to portlet settings > Data Providers
      6. Add data provider
        1. Name: Liferay Countries
        2. Username: test@liferay.com
        3. Password: test
        4. URL: http://localhost:8080/api/jsonws/country/get-countries
        5. Stored Attribute: name
        6. Displayed Attribute: nameCurrentValue
      7. Save
      8. Add new Form with select field connected to Data Provider
      9. Save form
      10. Go to Liferay site
      11. Add page
      12. Add Form portlet to the page
      13. Select created form with data provider
      14. Save
      15. Attempt to select entries in select field

      Expected Result:
      Entries are present.

      Actual Result:
      Data provider entries are not populated.

      Error thrown in both steps:

      com.liferay.portal.security.service.access.policy.exception.NoSuchEntryException: No SAPEntry exists with the key {companyId=32618, name=SYNC_TOKEN}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 20 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.1 CE GA2