File engine - Cache write error presented to users. Should log by default and only display for Administrators

harking - May 28, 2009 - 20:37
Project:Cache Router
Version:6.x-1.0-beta8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

While using the file engine, we're getting some issues related to the $key being too long and causing the fopen to fail. (anther issue filed for this)

This causes a pretty ugly error to be presented to users.

This error should only appear for administrators and should log that it happened.

The attached patch does this.

AttachmentSize
cacherouter-add-user_access-and-watchdog.diff903 bytes

#1

harking - May 28, 2009 - 20:39
Status:active» needs review

#2

slantview - September 3, 2009 - 08:59
Status:needs review» fixed

Fixed for 5/6/7. Moved all errors to watchdog.

#3

System Message - September 17, 2009 - 09:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.