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

Refactor out Resources specific code from kernel

    XMLWordPrintable

    Details

    • Type: Task
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Kernel
    • Labels:

      Description

      We recently wanted to add the ability to create a page in a site directly from the resource tool.

      Todo this we had to modify the kernel:

      api/src/main/java/org/sakaiproject/content/api/ResourceToolAction.java
      kernel-impl/src/main/java/org/sakaiproject/content/types/FileUploadType.java
      kernel-impl/src/main/java/org/sakaiproject/content/types/FolderType.java
      kernel-impl/src/main/java/org/sakaiproject/content/types/HtmlDocumentType.java
      kernel-impl/src/main/java/org/sakaiproject/content/types/MakeSitePageAction.java
      kernel-impl/src/main/java/org/sakaiproject/content/types/TextDocumentType.java

      the /config project:

      localization/bundles/src/bundle/org/sakaiproject/localization/bundle/type/types.properties

      and understanably the /content project:

      content-bundles/types.properties
      content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesAction.java
      content-tool/tool/src/java/org/sakaiproject/content/tool/ResourcesHelperAction.java
      content-tool/tool/src/webapp/vm/resources/sakai_make_site_page.vm

      I would expect to only have to modify /content. As we move to seperate release getting this division of responsibilities becomes more important and more painful when it's wrong (having to make a local kernel release).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code