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

ResourceLoader structure unhelpful in debugging and unit tests

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0, 11.0
    • Component/s: Kernel
    • Labels:
      None
    • 10 status:
      Resolved
    • CLE Team Issue:
      Yes
    • Previous Issue Keys:
      KNL-1191

      Description

      The resource loader is very unfriendly in code because it does not expose any useful information about the string or the underlying bundle. This patch adds improvements to make it possible to actually get useful information about the ResourceLoader. It also is a fake map implementation (DummyMap) which means that even though it appears to be a map, most map like operations on it will fail with UnsupportedException.
      This also corrects that so that almost all map operations are supported. This also corrects the failing toString operation.

      Also converted the Hashtables to ConcurrentHashMap and made a few other changes to make the class overall more solid and avoid possible bug cases

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  aaronz Aaron Zeckoski (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration