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

Unable to query for cases with TestRail 5.2 or later. #8

Closed
fouadz opened this issue Feb 19, 2016 · 3 comments
Closed

Unable to query for cases with TestRail 5.2 or later. #8

fouadz opened this issue Feb 19, 2016 · 3 comments
Assignees

Comments

@fouadz
Copy link

fouadz commented Feb 19, 2016

TestRail introduced a new concept of Templates. The case query returns a new field called template_id.

Exception in thread "main" java.lang.IllegalArgumentException: Case field list configuration is possibly outdated since it does not contain custom field: template_id 
 at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125)
 at com.codepine.api.testrail.internal.CaseModule$CaseDeserializer.deserialize(CaseModule.java:87) 
 at com.codepine.api.testrail.internal.CaseModule$CaseDeserializer.deserialize(CaseModule.java:65) 
 at  com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1270)
 at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:865) 
 at  com.codepine.api.testrail.Request.execute(Request.java:150)
 at com.codepine.api.testrail.Request$execute.call(Unknown Source)
@humanium
Copy link

Could someone provide any estimates on this?

@kunal546 kunal546 self-assigned this Feb 27, 2016
@kunal546
Copy link
Contributor

I will work on the fix to make Case compatible with TestRail 5.2 and release it in a couple of days.

@Rathore4u
Copy link

Did this release happen ?

davidbrazilparker pushed a commit to chapeco/testrail-api-java-client that referenced this issue Aug 15, 2018
# This is the 1st commit message:

# This is a combination of 8 commits.
# This is the 1st commit message:

Added new fields to Milestone available since TestRail 5.3; Fixed configuration of Lombok; Added Template model

# This is the commit message codepine#2:

Added Nexus distributionManagement to pom

# This is the commit message codepine#3:

Changed groupID

# This is the commit message codepine#4:

Fixed configuration of Lombok; Added Template model

# This is the commit message codepine#5:

Added deserialization of test Templates json file, updated Template class to deserialize is_default correctly

# This is the commit message codepine#6:

Added new fields to Milestone available since TestRail 5.3

# This is the commit message codepine#7:

Updated pom with release information for forked version of project

# This is the commit message codepine#8:

Update issue templates
# This is the commit message codepine#2:

Removed log4j dependency
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

4 participants