-
Notifications
You must be signed in to change notification settings - Fork 351
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
LOOP query in webapp does not work! #2053
Comments
the loop constraint is not passed to the server, but is created in the query builder. with what i think is the query of our docs:
but query builder export
|
When I try to import that query with a loop constraint, I get:
|
When someone (doesn't matter who) added JSON queries, they updated the syntax of the loop queries, i think this is where the problem started: |
Looking at the code in
This exports the query with This is the code that fails to populate
|
Anyway, both the export and import look like they use the same xml binding code, so why are they acting different? |
|
Running that query in iodocs works, running that query in the webapp does not. |
This looks like a problem with |
I'm about 80% confident it's imjs, and it's on the roadmap to be done reasonably soon! :) edit to add: intermine will need to bump its imjs supported version so this issue should definitely remain in place. |
a user send this via email to support:
For example, I tried the following query in FlyMine:
And I got the following error message:
XML is not well formatted. Got
<query model="genomic" view="Gene.primaryIdentifier Gene.symbol Gene.interactions.participant2.primaryIdentifier Gene.interactions.participant2.symbol Gene.interactions.participant2.interactions.participant2.primaryIdentifier Gene.interactions.participant2.interactions.participant2.symbol" sortOrder="Gene.primaryIdentifier ASC" constraintLogic="A and B" ><constraint path="Gene" op="LOOKUP" value="notch" extraValue="D. melanogaster" code="A" /><constraint path="Gene" op="!=" code="B" /></query>.
I guess the loop constraint was not processed correctly and it was truncated.
The text was updated successfully, but these errors were encountered: