Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-56

Error when displaying an empty activity stream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      In the dashboard page, I have an activity stream service which try to load an image with a source of URI_PREFIX/plugins/explorer/resource?id={{file.id&width=107&height=80}}
      But its not clear why this request is going off, I cannot find the corresponding <img src="..."> in the source code of the page (but I can find its reference in the angular code).

      Corresponding stacktrace on the server

      Date:			Mon Nov 14 18:37:32 CET 2016 (1479145052284)
      Thread:		http-apr-8090-exec-10
      Message #:	217
      Level:		ERROR
      NDC:			
      Category:	sitemap.handled-errors
      Message:		Failed to process reader
      	at <map:read type="ametys-resource"> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/05_Explorer/master/main/plugin-explorer/sitemap.xmap:158:50
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/07_CMS/master/main/workspace-cms/sitemap.xmap:189:81
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/08_Web/master/main/workspace-web/sitemap.xmap:458:105
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/01_Runtime/master/main/kernel/sitemap.xmap:181:109
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.apache.cocoon.ProcessingException: Failed to process reader
      	at <map:read type="ametys-resource"> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/05_Explorer/master/main/plugin-explorer/sitemap.xmap:158:50
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/07_CMS/master/main/workspace-cms/sitemap.xmap:189:81
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/08_Web/master/main/workspace-web/sitemap.xmap:458:105
      	at <map:mount> - file:/C:/dev/projects/produit/templates/web/master/webapp/cms/../../../../../kernel/01_Runtime/master/main/kernel/sitemap.xmap:181:109
      	at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113)
      
      [...]
      
      Caused by: org.ametys.plugins.repository.AmetysRepositoryException: An object id must conform to the <protocol>://<protocol-specific-part> syntax: {{file.id}}
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:298)
      	at org.ametys.plugins.explorer.resources.readers.AmetysResourceReader.setup(AmetysResourceReader.java:91)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:597)
      	... 87 more
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              trizzi Thibaut Rizzi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: