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

Kernel depends on non-kernel code (BasicContentTypeImageService can't be used in unit tests)

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.x
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-319

      Description

      I was looking at writing a test for ZipContentUtil and discovered that ZipContentUtil requires a functioning org.sakaiproject.content.impl.BasicContentTypeImageService.

      Now all the type information seems to have been extracted out the kernel and into the config project BasicContentTypeImageService returns NPE when calling some methods.

      Shouldn't the kernel be self contained and not be relying on external services for it's core functionality?

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  k1team KERNEL TEAM (Inactive)
                  Reporter:
                  buckett Matthew Buckett
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration