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

redo internationalization to avoid unnecessary network lookups, and to deal with timeouts

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0
    • Component/s: Lessons
    • Labels:
      None
    • Previous Issue Keys:
      LSNBLDR-40

      Description

      i18n code currently checks to see whether internationalized html page is present by opening a URL. There are several problems:

      • in load balancer situations, the server itself may not be able to open a URL that the user can open
      • if the URL doesn't work, the system freezes

      Solutions:

      • do a context lookup to find the file, rather than going through a URL, unless the user explicitly supplies a URL to replace the built-in documents
      • use a timeout, and log failure with an explanation

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hedrick Charles Hedrick
                Reporter:
                hedrick Charles Hedrick
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code