#6066: [TEST][PATCH] Model->create with filterKey does not unset audit fields
-----------------------------------------------+----------------------------
    Reporter:  GreyCells                       |         Owner:  
mariano.iglesias
        Type:  Bug                             |        Status:  closed         
 
    Priority:  Low                             |     Milestone:  1.2.x.x        
 
   Component:  Model                           |       Version:  1.2 Final      
 
    Severity:  Normal                          |    Resolution:  fixed          
 
    Keywords:  model create filterKey created  |   Php_version:  n/a            
 
Cake_version:  8015                            |  
-----------------------------------------------+----------------------------
Comment (by GreyCells):

 Hi Mariano

 I'm unable to think of a use case where you would want to reset the id
 (for which the only use case I can think of is to save a new record) and
 ''not'' want the created date to be reset too. Sure it can be done on the
 app easily, but isn't the created/updated/modified functionality in Cake
 supposed to be transparent and remove that responsibility from the
 developer?

 I'm not reopening, because as with #3481, I don't understand the logic of
 ''not'' implementing something trivial in the framework that then has to
 be manually implemented in all apps by the developer ''every'' time, so
 it's difficult to argue against the decision to close.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6066#comment:4>
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 tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to