[MAGNOLIA-433] [cache] don't cache files when an error occour during the httprequest Created: 13/Jun/05  Updated: 15/Jun/05  Resolved: 13/Jun/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Actually CacheHandler caches files also if an error has occurred during the request: this could lead to blank or corrupted pages



 Comments   
Comment by Fabrizio Giustina [ 13/Jun/05 ]

fixed: now CacheHandler.streamURI don't add the item to the cache if an error ha occurred

Generated at Mon Feb 12 03:17:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.