Baseflow / Baseflow/flutter_cache_manager

java.lang.Throwable Redirect loop detected

Open
#90 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

```

1 Dart.0 BaseCacheManager.getFile(package:flutter_cache_manager/src/cache_manager.dart:120)
--
2 Dart.1 CachedNetworkImageState._animatedWidget(package:cached_network_image/src/cached_image_widget.dart:261)
3 Dart.2 CachedNetworkImageState.build(package:cached_network_image/src/cached_image_widget.dart:194)
4 Dart.3 StatefulElement.build(package:flutter/src/widgets/framework.dart:3825)
5 Dart.4 ComponentElement.performRebuild(package:flutter/src/widgets/framework.dart:3739)
6 Dart.5 Element.rebuild(package:flutter/src/widgets/framework.dart:3565)
7 Dart.6 ComponentElement._firstBuild(package:flutter/src/widgets/framework.dart:3722)
8 Dart.7 StatefulElement._firstBuild(package:flutter/src/widgets/framework.dart:3864)
9 Dart.8 ComponentElement.mount(package:flutter/src/widgets/framework.dart:3717)

```
https://cdn.sinaimg.cn.52ecy.cn/large/005BYqpgly1g3dmzaw17lj30ya0o6gmv.jpg

Contributor guide

Open the contributing guide

Research direction

Start by reading BaseCacheManager.getFile in package:flutter_cache_manager/src/cache_manager.dart at line 120 and the CachedNetworkImageState methods in package:cached_network_image/src/cached_image_widget.dart at lines 194 and 261. Reproduce the reported redirect-loop failure with the linked image URL and trace the cache and widget interaction. Done means the redirect loop is understood and the failing case no longer produces the reported Throwable.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.