Hi,
I'm trying to debug a strangeness with To-do lists not being populated, and
that has led me to dig around in the search sitemap [1].
It seems there may be an error or unintentional feature in the
saved-dashboard-report pipeline [2]. If you look closely, a DASL query is
generated, but then broken by having the DASL namespace stripped before the
webdav transformer is run. 'Fixing' it gives a multistatus response to the
query.
<map:match pattern="saved-dashboard-report/**">
<map:generate src="cocoon:/search-dashboard-input()" type="jx"
label="content"/>
<map:transform src="transformers/queryGenerator/generateDasl.xsl">
<map:parameter name="saved-report-id" value="{1}"/>
</map:transform>
<map:transform type="stripnamespaces"/>
<map:transform type="i18n" label="query">
<map:parameter name="locale" value="{session-attr:locale}"/>
</map:transform>
<map:transform type="webdav"/>
<map:serialize type="xml"/>
</map:match>
[1]
http://svn.hippocms.org/viewvc/hippo-cms/trunk/editor/src/site/search/sitemap.xmap?view=markup
[2]
http://localhost:50000/search/saved-dashboard-report/dashboardTobeUnpublished
Andrew.
--
Sourcesense: Making sense of Open Source
Tel: +44 (0)870 741 6658 Fax: +44 (0)700 598 1135
Web: http://www.sourcesense.com/
********************************************
Hippocms-dev: Hippo CMS development public mailinglist