You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sumitra19jha
changed the title
To fix Fetch Request Call to get all newsFeed in case of no organization
[BUG] To fix Fetch Request Call to get all newsFeed in case of no organization
Apr 14, 2021
Issue Description:
If user is part of no organisation at all the fetch request call shall not be executed
Issue Severity:
Low
Observed Behaviour:
I/flutter (18499): ClientException: Unhandled Failure Invalid argument(s): No host specified in URI nullgraphql I/flutter (18499): 1 I/flutter (18499): http://talawa-graphql-api.herokuapp.com/graphql/talawa/ E/flutter (18499): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: GraphQL Errors: E/flutter (18499): Cast to ObjectId failed for value "null" at path "organization" for model "Post": Undefined location E/flutter (18499): #0 ApiFunctions.gqlquery package:talawa/utils/apiFuctions.dart:30 E/flutter (18499): <asynchronous suspension> E/flutter (18499): #1 _NewsFeedState.getPosts package:talawa/…/newsfeed/newsfeed.dart:75 E/flutter (18499): <asynchronous suspension> E/flutter (18499):
Expected Behaviour:
No error shall be displayed
Steps to reproduce issue:
Does this issue need immediate attention?
No
Are you willing to work on this issue:
Yes
The text was updated successfully, but these errors were encountered: