[TYPO3-core] RFC #15417: Bug: [Caching framework] DbBackend has() returns false for entries with unlimited lifetime

Christian Kuhn lolli at schwarzbu.ch
Tue Aug 10 21:58:40 CEST 2010


This is an SVN patch request

Type: bugfix

Branches: trunk, 4.4, 4.3

BT: http://bugs.typo3.org/view.php?id=15417

Problem:
DbBackend has() returns FALSE for entries with unlimited (0) lifetime. 
The constructed where clause misses this case.

Solution:
Add proper case to where clause.

How to test:
Apply _test and watch it fail. Apply patch and see that it works.

Notes:
4.3 needs a slightly different test, while code change in dbbackend is 
identical.
Thanks to Chris Zepernick for pointing that out!

Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15417_01.diff
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100810/fb0cb7a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15417_01_4.3.diff
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100810/fb0cb7a5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15417_01_test.diff
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100810/fb0cb7a5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15417_01_test_4.3.diff
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100810/fb0cb7a5/attachment-0003.bin>


More information about the TYPO3-team-core mailing list