Expand my Community achievements bar.

sling:collection error

Avatar

Level 2

Hello,

we have an strange error message with dispatcher.

We created this query:

From QueryBuilder:

path=/content/dam/collections/

type=sling:collection

tagid=brochure-groups:mediterranean-(en)

From Xpath:

/jcr:root/content/dam/collections//*

                [

(@cq:tags = 'brochure-groups:mediterranean-(en)' or @cq:tags = '/etc/tags/brochure-groups/mediterranean-(en)')

                ]

If we do the request directly to the publish machines (without dispacther), we will receive all results.

Instead if we do the request with the dispacther we will get the following error inside error.log:

               

                GET /brochures.brochure_group_mediterranean-(en).country_FR.html HTTP/1.1] com.day.cq.search.eval.TypePredicateEvaluator Node type 'sling:collection' not found

Do you have any idea regarding this strange behaviour ?

Thank you very much.

Giuseppe

1 Reply

Avatar

Level 10

Where is this request being made - when you run QueryBuilder code - are you not running it from a OSGi bundle on the PUB instance?