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

External id is null after creating Test case #143

Open
i-vasilev opened this issue Mar 11, 2022 · 1 comment
Open

External id is null after creating Test case #143

i-vasilev opened this issue Mar 11, 2022 · 1 comment
Labels

Comments

@i-vasilev
Copy link

Hello. I have a problem with test case creating. After creating:

TestCase tc = testLinkAPI.createTestCase(summary,
                                                                  testSuite.getId(),
                                                                  ....);

Then tc.getExternalId() and tc.getFullExternalId() are null both.

Versions:

  • TestLink: 1.9.20
  • testlink-java-api: 1.9.20-1
  • JVM 11

I need this external id to set keywords to test cases.

@i-vasilev i-vasilev added the bug label Mar 11, 2022
@kinow
Copy link
Owner

kinow commented Mar 12, 2022

Hi @i-vasilev , I don't have an environment to confirm it at the moment, but I remember some create operations didn't return all the fields in the PHP API. I think the test plan didn't return a field, so I had to invoke the API again to query for the values.

You may have to do the same. Perhaps you could try to confirm that the PHP XMLRPC API is returning the external ID? If it is indeed returning it, then we have confirmed that the bug lies on the Java code here 👍

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

No branches or pull requests

2 participants