Hello all,

I'm working with hippo-cocoon-plugin and my purpose is to build a pipeline that renders a summary of documents.

My problem is the following:
I have a default.www/somepath/ repository directory where i published 3 (three) documents (I checked this into the repository with a webdav client).

Now, in the pipeline of the DASL query, before the <map:transfom type="webdav"/>, if i put a <map:serialize type="xml"/> i got this:

<?xml version="1.0" encoding="utf-8"?>
<request xmlns="http://hippo.nl/webdav/1.0"; xmlns:d="DAV:" xmlns:h="http://hippo.nl/cms/1.0"; xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"; target="webdav://localhost:60000/default/files/default.www/somepath.." method="SEARCH">
  <header name="Depth" value="1"/>
  <body>
    <d:searchrequest>
      <d:basicsearch>
        <d:select>
          <d:prop>
            <d:displayname/>
            <h:caption/>

            <h:type/>
            <h:latestVersion/>
            <h:publicationDate/>
            <h:UID/>
          </d:prop>
        </d:select>
        <d:from>
          <d:scope>

            <d:href/>

            <d:depth>1</d:depth>
          </d:scope>
        </d:from>

        <d:orderby>
          <d:order>
            <d:prop><h:index/></d:prop>
            <d:ascending/>
          </d:order>

        </d:orderby>
                                <d:limit>
                                        <d:nresults>500</d:nresults>
                                </d:limit>
      </d:basicsearch>
    </d:searchrequest>
  </body>
</request>

But if i put the serializer after the <map:transfom type="webdav"/>
I got 10 objects!!
Many documents are fetched more than once.. without any reason.

The only thing that i know about this is that the documents were published and modified many times.. it seems that i got a copy of the document for each time i published it.

Is this a known bug?

Thanks in advance.
--
By MCM.
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to