Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-634

Problem with the use of ametys:sitemap() on a site with many pages and ODF

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.2, 2.0.1
    • None
    • None
    • None

      In this newsletter it is used like

      <xsl:for-each select="ametys:sitemap()/page[@PLUGIN_TAGS_SECTION]">
         <a href="{$contextPath}/{@sitemap}/{@sitemap:path}.html"><xsl:value-of select="@sitemap:title"/></a>
      </xsl:for-each>
      

      The newsletter is very long to load.

          [ODF-634] Problem with the use of ametys:sitemap() on a site with many pages and ODF

          Je le clos pour l'instant
          A rouvrir si les tests ne sont pas concluants

          Cédric Damioli added a comment - Je le clos pour l'instant A rouvrir si les tests ne sont pas concluants

          The newsletter is displayed in less than 10s on a cms locally, I hope that it will be faster on the server

          Laurence Perier added a comment - The newsletter is displayed in less than 10s on a cms locally, I hope that it will be faster on the server

          It is ok with the last correction ?

          Laurence Aumeunier added a comment - It is ok with the last correction ?

          The display is still too long.
          I see a lot of instructions like
          Category: org.ametys.plugins.repository.AmetysObjectResolver
          Message: JCR query '//element(*, ametys:content)[(@ametys-internal:contentType ='org.ametys.plugins.odf.Content.program' and @ametys-internal:language ='fr' and ((@ametys:degree_sync = true() and @ametys:degree_remote = 'MLMD') or (@ametys:degree_sync != true() and @ametys:degree = 'MLMD')) and @ametys:domain = '0003')]' executed in 8 ms

          in the logfactor.

          Laurence Perier added a comment - The display is still too long. I see a lot of instructions like Category: org.ametys.plugins.repository.AmetysObjectResolver Message: JCR query '//element(*, ametys:content) [(@ametys-internal:contentType ='org.ametys.plugins.odf.Content.program' and @ametys-internal:language ='fr' and ((@ametys:degree_sync = true() and @ametys:degree_remote = 'MLMD') or (@ametys:degree_sync != true() and @ametys:degree = 'MLMD')) and @ametys:domain = '0003')] ' executed in 8 ms in the logfactor.

          Laurence Perier added a comment - - edited

          Since the version 3.4 we lost the inputData "/view/input Data/sitemap/" we used before in the template of the newsletter

          Laurence Perier added a comment - - edited Since the version 3.4 we lost the inputData "/view/input Data/sitemap/" we used before in the template of the newsletter

            cedric Cédric Damioli
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: