Skip to content
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

ONE OF contraint not working in template form #2044

Closed
rachellyne opened this issue May 13, 2019 · 5 comments
Closed

ONE OF contraint not working in template form #2044

rachellyne opened this issue May 13, 2019 · 5 comments
Assignees

Comments

@rachellyne
Copy link
Member

I updated this template to use a ONE OF constraint: http://www.flymine.org/flymine/template.do?name=Stage_FlyFishBDGP&scope=all.

It works ok from the query builder but when you try and run it from the template form it turns the constraint into this:

ONE OF [[Ljava.lang.String;@4e9172f3] [Remove this constraint] [Edit this constraint] (B)

@julie-sullivan
Copy link
Member

works fine if you "edit template", does not work as expected when you "edit query". I suppose constraints are handled differently in the two.

@julie-sullivan
Copy link
Member

julie-sullivan commented May 20, 2019

Try to export this template: modENCODE_RNA_seq_Tissues. It works on SOME stages but not all. When I use the first stage, I get an error about whitespace. (see below)

  1. should the data parser parse out the whitespace (yes)
  2. should the ONE OF constraints be updated to not be so delicate (also yes)
Caused by: javax.xml.stream.XMLStreamException: Value in MultiValue starts or ends with whitespace - this query cannot be represented in XML
	at org.intermine.pathquery.PathQueryBinding.marshalPathQueryConstraints(PathQueryBinding.java:212)
	at org.intermine.pathquery.PathQueryBinding.doMarshal(PathQueryBinding.java:122)
	... 56 more

@julie-sullivan
Copy link
Member

I am pretty sure this change is related to our problem: a287177

@julie-sullivan
Copy link
Member

Fixed by julie-sullivan@1f2aa0a

@julie-sullivan
Copy link
Member

Fix reverted in #2052

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

No branches or pull requests

3 participants