GithubHelp home page GithubHelp logo

Comments (29)

indraaristya avatar indraaristya commented on July 3, 2024 4

[UPDATE]

You guys might need to update the test plan, try to change the name only or else and save it. The api/v2/get_plan/{plan_id} endpoint should be working fine after that. I've tried mine and it's works.

from testrail-api.

sf0319 avatar sf0319 commented on July 3, 2024 3

@indraaristya I wouldn't say that this issue is Resolved (or ready to be closed) just because there is a workaround. I would appreciate it if this bug was re-opened so that Gurock could address it and make a proper fix.

from testrail-api.

bdfariello avatar bdfariello commented on July 3, 2024 2

Something else I noticed today - we have some api/v2/get_plan/{plan_id} requests working successfully, while others do not

It seems like there was an attribute change in the back-end Test Plan objects, and so Plans created BEFORE we got this update trigger this bug, while Plans created AFTER we got this update do NOT trigger the bug.

from testrail-api.

indraaristya avatar indraaristya commented on July 3, 2024 1

Something else I noticed today - we have some api/v2/get_plan/{plan_id} requests working successfully, while others do not

It seems like there was an attribute change in the back-end Test Plan objects, and so Plans created BEFORE we got this update trigger this bug, while Plans created AFTER we got this update do NOT trigger the bug.

I've tried to update the test plan (only change the name) and save it then api/v2/get_plan/{plan_id} works perfectly again. Thanks!

from testrail-api.

indraaristya avatar indraaristya commented on July 3, 2024 1

@indraaristya I wouldn't say that this issue is Resolved (or ready to be closed) just because there is a workaround. I would appreciate it if this bug was re-opened so that Gurock could address it and make a proper fix.

Sure, done.

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024 1

Actually we've heard the the issue should have been fixed within the above update, but the issue remains unfixed.
And as I tested locally, the issue hasn't been fix at this moment.
We've synced with TestRail again, waiting for their update.

from testrail-api.

shaheelroshankhan avatar shaheelroshankhan commented on July 3, 2024

I'm also hitting the same. Other APIs are working fine
APIError: TestRail API returned HTTP 500 ({'error': 'Undefined property: stdClass::$dataset_id'})

from testrail-api.

bdfariello avatar bdfariello commented on July 3, 2024

We're seeing the same in our TestRail Cloud instance

TestRail version: 7.8.0 Default (1136)
Built On: 1/25/2023
Database version: 20230105013501

We only started noticing it today

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

The same error while querying "api/v2/get_plan": "error": "Undefined property: stdClass::$dataset_id"

from testrail-api.

sf0319 avatar sf0319 commented on July 3, 2024

Just wanted to pile to try and get more attention to this issue. I am seeing the exact same error for our instance as well since updating to TestRail version: 7.8.0 Default (1136).

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

4 days ago, request for plan A via this API fails, today the same request for plan A is successful.
However, request for another plan B still fails with the same error today.

from testrail-api.

bdfariello avatar bdfariello commented on July 3, 2024

from testrail-api.

SarLecobee avatar SarLecobee commented on July 3, 2024

Also started noticing this issue today.

from testrail-api.

patrick-cichon-gcx avatar patrick-cichon-gcx commented on July 3, 2024

We're also having the same issue since approximately a week

from testrail-api.

justinokoli avatar justinokoli commented on July 3, 2024

We are having this issues since a week now, all our operations are halted and we are considering next step with testrail

from testrail-api.

jbrekesJC avatar jbrekesJC commented on July 3, 2024

We have the same problem in my company since 2023-02-07, and I don't think that editing old plans would be so practical since we would have more than 2000 plans to change.

from testrail-api.

jnowo avatar jnowo commented on July 3, 2024

I have the same problem since ~2023-02-20

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

The issue has been reported to TestRail 3 weeks ago, they confirmed it can be reproduced internally. But the issue has not been fixed so far...

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

It is said "There is no ETA for to bug but the fix will soon be released, most likely in the next TestRail update or the next two version upgrades".

So we may have to use the workaround for now until the new release fixes the issue.

from testrail-api.

jon-waite-tgcs avatar jon-waite-tgcs commented on July 3, 2024

This is bad, it is blocking our reporting as an organization. Test Rail APIs are already overly verbose and nested, and now they do not work.

from testrail-api.

jnowo avatar jnowo commented on July 3, 2024

For me it started working fine since yesterday. I don't get any errors with dataset_id now.

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

@jnowo As we tested earlier, we may fail to fetch data for some projects earlier, but then later we can successfully get the data for those projects. However, as I checked just now, I still get the same errors for some projects.
The issue is not fixed yet.

from testrail-api.

shaheelroshankhan avatar shaheelroshankhan commented on July 3, 2024

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

Possible workaround:

  1. Get all the plans via get_plans/{project_id}
  2. Loop all the plans, use try-catch to get all the plans with the "Undefined property: stdClass::$dataset_id" issue
  3. For all the plans with the issue, change the plan names(maybe add _temp to the end of the plan name) via update_plan/{plan_id}, refer to update_plan
  4. Change these plans to their original names
  5. Query the data of these plans again, the issue should be fixed.

Note: This is just a possible workaround, as I haven't tested the API update_plan/{plan_id}, we only know if we manually update the plan name(add suffix and change back), then the http request will be fine.

Pls ignore the above comments, stupid I'm. Just realize, if there is an error in the request, we cannot get the plan name via API.

from testrail-api.

ziadtawfeek avatar ziadtawfeek commented on July 3, 2024

I think this should be fixed now https://support.gurock.com/hc/en-us/articles/13703699589780-TestRail-7-8-0-Default-1140-

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

We found the issue about 2 months ago, just tried locally, this issue can still be reproduced now.
Unbelievable, is this bug so complex that it need several months to fix......

from testrail-api.

jbrekesJC avatar jbrekesJC commented on July 3, 2024

This bug is really complicating some of our processes. Still no news on the solution?

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

They sueggest us to create freash projects, manually create fresh TestRun, TestCases, without any import(To confirm some assumptions).
The current plans we're testing are possibly corrupt, according to the recent conversations with them.

So the only solution for us is: Write a script to list all the current test plans in all the projects, then make requests to all the plans via API, record all the plans with this issue. Finally make the workaround to all these plans(rename) manually.

from testrail-api.

Moriarty16 avatar Moriarty16 commented on July 3, 2024

Now we're used a script to list all the plans with this issue, then run the workaround(rename, save, and rename back) on each of these plans one by one.
Now we can access all the plans via API...

from testrail-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.