[DCOM-226] [GH-310] Improve UnexpectedValueException error message, add testcase. Created: 19/Dec/13  Updated: 18/Apr/14  Resolved: 18/Apr/14

Status: Resolved
Project: Doctrine Common
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Doctrine Bot Assignee: Guilherme Blanco
Resolution: Invalid Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of JamesGuthrie:

Url: https://github.com/doctrine/common/pull/310

Message:

UnexpectedValueException::proxyDirectoryNotWritable() provides
information as to which directory was unwritable.

A TestCase is provided for the proxyDirectoryNotWritable() function.



 Comments   
Comment by Doctrine Bot [ 19/Dec/13 ]

A related Github Pull-Request [GH-310] was closed:
https://github.com/doctrine/common/pull/310

Comment by Guilherme Blanco [ 18/Apr/14 ]

Issue got closed by reporter





[DCOM-227] [GH-311] Improve UnexpectedValueException error message, add testcase. Created: 19/Dec/13  Updated: 18/Apr/14  Resolved: 18/Apr/14

Status: Resolved
Project: Doctrine Common
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Doctrine Bot Assignee: Guilherme Blanco
Resolution: Invalid Votes: 0
Labels: None


 Description   

This issue is created automatically through a Github pull request on behalf of JamesGuthrie:

Url: https://github.com/doctrine/common/pull/311

Message:

UnexpectedValueException::proxyDirectoryNotWritable() provides
information as to which directory was unwritable.

A TestCase is provided for the proxyDirectoryNotWritable() function.



 Comments   
Comment by Doctrine Bot [ 19/Dec/13 ]

A related Github Pull-Request [GH-311] was closed:
https://github.com/doctrine/common/pull/311

Comment by Guilherme Blanco [ 18/Apr/14 ]

Issue got closed by reporter





[DCOM-240] FileCacheReader requires write access, even when it isn't writing Created: 16/Apr/14  Updated: 16/Apr/14  Resolved: 16/Apr/14

Status: Resolved
Project: Doctrine Common
Component/s: Caching
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris Sedlmayr Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: cache


 Description   

Within the constructor of Doctrine\Common\Annotations\FileCacheReader, it checks if the $cacheDir is writable, and if not, it throws an exception.
As this class performs read and write operations, it makes sense to only perform that check when it needs to write, maybe as part of the saveCacheFile method.

We are warming all parts of our cache during application build process, so on production servers we have no writable directories, this code means that can't happen.



 Comments   
Comment by Chris Sedlmayr [ 16/Apr/14 ]

Fixed by https://github.com/doctrine/annotations/pull/30





Generated at Fri Apr 18 18:38:22 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.