Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31786

Error report in /portal/favorites/update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.2
    • Fix Version/s: None
    • Component/s: Preferences
    • Labels:
      None

      Description

      Since we launched in production 11.1, we have received a lot of error reports with request-path: /portal/favorites/update and this stacktrace:

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.exception.InUseException id: e628f6d0-b4fe-4c0b-bcbe-4eca839429e5
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1137)
      caused by: org.sakaiproject.exception.InUseException id: e628f6d0-b4fe-4c0b-bcbe-4eca839429e5
          at org.sakaiproject.user.impl.BasePreferencesService.edit(BasePreferencesService.java:289)
          at org.sakaiproject.user.cover.PreferencesService.edit(PreferencesService.java:126)
          at org.sakaiproject.portal.charon.handlers.FavoritesHandler.setFavoriteSiteIds(FavoritesHandler.java:103)
          at org.sakaiproject.portal.charon.handlers.FavoritesHandler.doPost(FavoritesHandler.java:70)
      ...
      

      Where the id of the exceptions matchs with the user of report.
      It seems to be related to multiple favorite update requests from the same user at the same time... but I cannot reproduce it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  juanarcadio Juan Arcadio Martinez Carceles
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Source Code