New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying on a content's reference field #515

gallayl opened this Issue Nov 13, 2018 · 1 comment


None yet
4 participants
Copy link

gallayl commented Nov 13, 2018

I've tried to write a query on a content's reference and executed it on both sn 6.x and the latest 7 and it gave me a different result.

In sn6, I've received the expected standard collection response, in SN7 I've got the following exception:

    "error": {
        "code": "NotSpecified",
        "exceptiontype": "ParserException",
        "message": {
            "lang": "en-us",
            "value": "Syntax error, (query:  +(ModifiedById:{{Name: alba }}) +(InTree: /Root ) ) [Line: 1, Col: 17]"
        "innererror": null

Are these types of reference queries supported in SN7? (e.g. Reference:{{ReferenceField:"something"}})

If not, do we have any alternatives for filtering in references?

@gallayl gallayl added this to the Sprint 171 milestone Nov 13, 2018

@kultsar kultsar modified the milestones: Sprint 171, Sprint 172 Nov 14, 2018

@kavics kavics self-assigned this Nov 22, 2018


This comment has been minimized.

Copy link

kavics commented Nov 23, 2018

"Are these types of reference queries supported in SN7": Yes but it was buggy. The previous big IR refactor temporarily hides this functionality. It is fixed in #522.

@tusmester tusmester removed the question label Nov 23, 2018

@tusmester tusmester assigned gallayl and unassigned kavics Nov 23, 2018

@kultsar kultsar modified the milestones: Sprint 172, Sprint 173 Nov 28, 2018

@kultsar kultsar closed this Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment