In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1028 [In-Portal CMS] Caching System bug report always 2011-03-31 11:05 2011-09-19 16:08
Dmitry  
alex  
normal  
closed 5.1.1  
fixed  
 
none 5.1.3-B1  
https://groups.google.com/d/topic/in-portal-bugs/1bMaYpQkm2A/discussion
Added DB name to memory cache key
0
0001028: Missing "Database Name" in Memory Cache Key
Back in In-Portal 5.1.1 we have introduced the improvements to Memory Cache Key when separate memory cache was used for each developer. Original discussion for that was Separate memory cache for each developer .

Looks like we have missed to add the Database Name to the equation for that Key which lead to the problem when multiple developers started to share the same Cache settings.

The fix is pretty simple - add the DB name to the key string.
related to 0000107closed  (5.1.0)alex Implement "MemCached" functionality 
child of 0000877closed  (5.1.1)alex Single Cache Serial-key for Developers on the same Server 
patch Missing-Database-Name-in-Memory-Cache-Key.patch (643) 2011-04-03 11:49
http://tracker.in-portal.org/file_download.php?file_id=981&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003860
2011-09-19 16:08 alex Status resolved => closed
2011-05-20 05:11 alex Note Added: 0003444
2011-05-20 05:11 alex Status reviewed and tested => resolved
2011-05-20 05:11 alex Fixed in Version => 5.1.3-B1
2011-05-20 05:11 alex Resolution open => fixed
2011-05-20 05:11 alex Assigned To !COMMUNITY => alex
2011-05-20 05:11 alex Changeset attached 5.1.x r14331
2011-05-20 05:10 alex Note Added: 0003443
2011-05-20 05:10 alex Status needs testing => reviewed and tested
2011-04-04 11:49 Dmitry Target Version Icebox => 5.1.3
2011-04-03 11:50 Dmitry Note Added: 0003397
2011-04-03 11:49 Dmitry File Added: Missing-Database-Name-in-Memory-Cache-Key.patch
2011-04-03 11:49 Dmitry File Deleted: Missing-Database-Name-in-Memory-Cache-Key.patch
2011-04-03 11:43 alex Note Added: 0003396
2011-04-03 11:42 Dmitry Assigned To => !COMMUNITY
2011-04-03 11:42 Dmitry Developer => Dmitry
2011-04-03 11:42 Dmitry Status active => needs testing
2011-04-03 11:42 Dmitry File Added: Missing-Database-Name-in-Memory-Cache-Key.patch
2011-03-31 11:06 Dmitry Relationship added related to 0000107
2011-03-31 11:06 Dmitry Relationship added child of 0000877
2011-03-31 11:05 Dmitry Reference => https://groups.google.com/d/topic/in-portal-bugs/1bMaYpQkm2A/discussion
2011-03-31 11:05 Dmitry New Issue
2011-03-31 11:05 Dmitry Change Log Message => Added DB name to memory cache key

Notes
(0003396)
alex   
2011-04-03 11:43   
I guess you need to add separator between table prefix and database name.
(0003397)
Dmitry   
2011-04-03 11:50   
Thanks for a hint - added a separator!
(0003443)
alex   
2011-05-20 05:10   
ok
(0003444)
alex   
2011-05-20 05:11   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0001028: Missing "Database Name" in Memory Cache Key
Commit on behalf of Dmitry
(0003860)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.