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

Do not search admin site for tools

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 11.0, 12.0
    • Component/s: elFinder
    • Labels:
    • 11 status:
      Resolved
    • Test Plan:
      Hide

      as 'admin', fire up elfinder to insert an image (Create HTML page in resources, click image icon, click 'browse server'.

      Make sure you dont see messages like this in the log:

      2016-04-21 11:10:16,565  WARN http-apr-18888-exec-9 org.sakaiproject.elfinder.sakai.content.ContentSiteVolumeFactory - Failed to get last modified date for: /group/!admin/
      org.sakaiproject.exception.IdUnusedException id: /group/!admin/
              at org.sakaiproject.content.impl.BaseContentService.getCollection(BaseContentService.java:2302)
              at org.sakaiproject.elfinder.sakai.content.ContentSiteVolumeFactory$ContentSiteVolume.getLastModified(ContentSiteVolumeFactory.java:205)
              at cn.bluejoe.elfinder.controller.executor.FsItemEx.getLastModified(FsItemEx.java:106)
              at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.getFsItemInfo(AbstractCommandExecutor.java:156)
              at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.files2JsonArray(AbstractCommandExecutor.java:122)
              at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.files2JsonArray(AbstractCommandExecutor.java:113)
              at 
      
      Show
      as 'admin', fire up elfinder to insert an image (Create HTML page in resources, click image icon, click 'browse server'. Make sure you dont see messages like this in the log: 2016-04-21 11:10:16,565 WARN http-apr-18888-exec-9 org.sakaiproject.elfinder.sakai.content.ContentSiteVolumeFactory - Failed to get last modified date for : /group/!admin/ org.sakaiproject.exception.IdUnusedException id: /group/!admin/ at org.sakaiproject.content.impl.BaseContentService.getCollection(BaseContentService.java:2302) at org.sakaiproject.elfinder.sakai.content.ContentSiteVolumeFactory$ContentSiteVolume.getLastModified(ContentSiteVolumeFactory.java:205) at cn.bluejoe.elfinder.controller.executor.FsItemEx.getLastModified(FsItemEx.java:106) at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.getFsItemInfo(AbstractCommandExecutor.java:156) at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.files2JsonArray(AbstractCommandExecutor.java:122) at cn.bluejoe.elfinder.controller.executor.AbstractCommandExecutor.files2JsonArray(AbstractCommandExecutor.java:113) at

      Description

      When getting the list of sites that a user is a member of /site/!admin should always be removed as it never contains any tools with real content and for lots of tools it doesn't follow the normal entity reference pattern. For example there is no content for /group/!admin instead the resources tool in the administration workspace displays the whole hierarchy of resource.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  adamm Adam Marshall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration