Comments (29)
[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.
@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.
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.
Something else I noticed today - we have some
api/v2/get_plan/{plan_id}
requests working successfully, while others do notIt 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 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.
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.
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.
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.
The same error while querying "api/v2/get_plan": "error": "Undefined property: stdClass::$dataset_id"
from testrail-api.
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.
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.
from testrail-api.
Also started noticing this issue today.
from testrail-api.
We're also having the same issue since approximately a week
from testrail-api.
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.
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.
I have the same problem since ~2023-02-20
from testrail-api.
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.
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.
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.
For me it started working fine since yesterday. I don't get any errors with dataset_id now.
from testrail-api.
@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.
from testrail-api.
Possible workaround:
- Get all the plans via
get_plans/{project_id}
- Loop all the plans, use
try-catch
to get all the plans with the"Undefined property: stdClass::$dataset_id"
issue - For all the plans with the issue, change the plan names(maybe add
_temp
to the end of the plan name) viaupdate_plan/{plan_id}
, refer to update_plan - Change these plans to their original names
- 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.
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.
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.
This bug is really complicating some of our processes. Still no news on the solution?
from testrail-api.
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.
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)
- "Field :suite_id is a required field." when suite_id is clearly provided HOT 3
- Dotnet get_attachments issue
- No ruby sample code for add_attachment HOT 1
- Feature request - Add sortable indexes on user defined entites (test runs, cases, plans, test inside of a test run) HOT 1
- python bindings has error handing issues and path name issues. HOT 1
- {"error"=>"Field :suite_id is a required field."} HOT 1
- is there a testrail-api nuget package available? HOT 1
- com.qa.utils.APIException: TestRail API returned HTTP 400("Field :suite_id is a required field.") HOT 8
- com.qa.utils.APIException: TestRail API returned HTTP 400("Field :case_id is not a valid ID.") HOT 3
- TestRail API returned HTTP 400 Field :suite_id is a required field - JAVA HOT 3
- Add Bindings For Dart HOT 5
- TestRail API returned HTTP 500("Undefined property: stdClass::$sso_enabled") HOT 1
- Consider Publishing to Maven Central
- Unexpected character encountered while parsing value: �. Path '', line 0, position 0. HOT 2
- Screenshots not accessible/downloadable through the API's methods
- PyTest to update test case results to TestRails by providing the RunID
- get_results_for_run cannot be filtered to return the last set of results
- Failed to retrieve cases
- rate limit policy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testrail-api.