Bug 2172 - Missing spaces in Default template
: Missing spaces in Default template
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.2.0
: PC Windows XP
: P2 trivial (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-22 15:25 UTC by Jim McAtee
Modified: 2008-09-15 14:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim McAtee 2005-09-22 15:25:33 UTC
The following line in the Default template needs spaces before the numbers:

Your music library contains300 albumswith3384 songsby193 artists.
Comment 1 KDF 2005-09-22 15:54:02 UTC
This was already fixed.  However, it seems to be lingering due to some bizarre
caching issue.  an arbitrary edit of Default/home.html clears it up. maybe a
dummy checkin needs to be done on this file so that the caching sees a new file
date?
Comment 2 Blackketter Dean 2005-09-22 16:09:39 UTC
Can we force a cache wipe with an upgrade script?
Comment 3 KDF 2005-09-22 16:21:00 UTC
hard to say where it is caching.  a newer timestamp on the home.html would
probably do the trick. 
Comment 4 KDF 2005-09-23 19:32:24 UTC
I've committed a possible fix in change 4418.  This should update the file time
and cause the caches (tt and etags) to reset and give proper render of the
library stats.  Please confirm (as I've already had mine update here)
Comment 5 Jim McAtee 2005-09-23 19:46:55 UTC
Can't really confirm - I already did the edit to bump the timestamp.  What 
exacltly _does_ wipe the cache?  I notice, for instance, that I still have 
compiled templates for the old Exbrowse2 skin sitting in the cache.  Harmless 
enough, but I would think that something needs to force the cache to be cleared 
from time to time.
Comment 6 KDF 2005-09-23 20:01:01 UTC
i believe that they are simply updated when a more recent version is found, as opposed to any cort of 
wiping. that's the theory behind my fix.  if the touch fixed it for you, then I expect that is confirmation 
enough of the theory.  The update I put in will simply give all users a newer date on home.html.

the caching for TT isn't all that different from the inbuilt caching for most browsers.  You can find 
months of old sites on the drives.  I'll leave this open anyway to let Dan or Dean decide on a final 
solution.

Comment 7 Dan Sully 2005-09-24 16:23:41 UTC
I've commited a fix that may help out with this - subversion change 4422

We now remove the template cache dir when a wipe db happens.