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

_processImage/newImageForEntityUUID:sourceImageUUID Failing #24

Closed
shnhrrsn opened this issue Nov 27, 2013 · 3 comments
Closed

_processImage/newImageForEntityUUID:sourceImageUUID Failing #24

shnhrrsn opened this issue Nov 27, 2013 · 3 comments

Comments

@shnhrrsn
Copy link

Since I switched to FIC I noticed randomly my images would "fail" to load even when the HTTP request was successful.

It looks like the issue is in FICImageCache in the method _processImage:forEntity:imageTable:completionBlocks:.

On line 338 when newImageForEntityUUID:sourceImageUUID: is called, it returns nil even though _processImage was called with a valid image.

I can't find a scenario that consistently reproduces it, it seems to happen at random and most frequently presents itself when multiple images of the same format are loading at the same time.

@mallorypaine
Copy link
Contributor

There's not enough information here me to investigate this further. If you can debug this further and isolate what's going wrong, I'd be happy to help.

@mallorypaine
Copy link
Contributor

Please see #22, which explains one scenario which could cause you to get a nil UIImage in your callback.

@shnhrrsn
Copy link
Author

I was correctly using the UUID, I was bit by that early and realized. This was relatively easily reproducible as long as multiple requests were firing at once.

My issue was resolved by pulling in this commit: CraigSiemens@4172357

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

No branches or pull requests

2 participants