#5045: Asset timestamp doesn't work when using css & js from themes (ThemeView) 
or
css & js from vendors / plugin-vendors
--------------------------------------------------------+-------------------
    Reporter:  biesbjerg                                |         Owner:  
mariano.iglesias
        Type:  Bug                                      |        Status:  
reopened        
    Priority:  Medium                                   |     Milestone:  
1.2.x.x         
   Component:  Helpers                                  |       Version:  RC2   
          
    Severity:  Normal                                   |    Resolution:        
          
    Keywords:  asset, timestamp, biesbjerg, mark_story  |   Php_version:  PHP 5 
          
Cake_version:  ~7100                                    |  
--------------------------------------------------------+-------------------
Changes (by vuego):

  * status:  closed => reopened
  * resolution:  needmoreinfo =>

Comment:

 This "needmoreinfo" ticket closing is lame. I think my explanation was
 sufficient - there are only a few tests covering asset timestamps.

 Never mind. I've attached a test case covering this issue. I think it
 explains the problem. It is not for production because it assumes that
 there is a css file in
 APP.'plugins'.DS.'pluginname'.DS.'vendors'.DS.'css'.DS.'cssfile.css'.
 These assets are served via dispatcher, so physical location and last
 modified time can not be easily guessed as in htmlhelper (html.php line
 359)
 {{{
 $url .= '?' . @filemtime(WWW_ROOT . str_replace('/', DS, $path));
 }}}

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5045#comment:13>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to