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

Millions of request to getI18NProperties with bullhorns disabled

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.5, 20.0 [Tentative]
    • Fix Version/s: 19.0, 20.0 [Tentative]
    • Component/s: Portal Bullhorns
    • Labels:
      None
    • 19 status:
      Resolved
    • 12 status:
      Please Merge
    • Test Plan:
      Hide

      Open browser network console.
      Login to Sakai, with bullhorns disabled.
      Look for "getI18NProperties" request.
      You shouldn't see any request.

      Show
      Open browser network console. Login to Sakai, with bullhorns disabled. Look for "getI18NProperties" request. You shouldn't see any request.

      Description

      In Sakai 12 portal.bullhorns.enabled is false by default, so you don't have bullhorns enabled, but the request:

      https://qa2-us.nightly.sakaiproject.org/sakai-ws/rest/i18n/getI18nProperties?locale=en-US&resourceclass=org.sakaiproject.portal.api.PortalService&resourcebundle=connection-manager

      Is done in every page in Sakai. In our production environment with bullhorns disabled we experienced more than 10 millions request to this URL in a month.

      This request must be done only with bullhorns enabled, and also cached because is to get translations that doesn't change a lot.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                eduardorey Eduardo Rey Jara
                Reporter:
                jjmerono@um.es Juan José Meroño Sánchez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code