#5943: Error getting Translation data using translation behaviour.
---------------------------------------+------------------------------------
    Reporter:  [email protected]        |         Owner:           
        Type:  Test Case               |        Status:  closed   
    Priority:  High                    |     Milestone:  1.2.x.x  
   Component:  Behaviors               |       Version:  1.2 Final
    Severity:  Major                   |    Resolution:  invalid  
    Keywords:  Translation, Behaviors  |   Php_version:  PHP 5    
Cake_version:  1.2.0.7962              |  
---------------------------------------+------------------------------------
Changes (by renan.saddam):

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

Comment:

 Please, make sure you created a translated item for the item you are
 trying to retrieve.[[BR]]
 If you do
 {{{
 $this->Post->locale = "en_us";
 }}}
 you will force to find a Post with a "en_us" version. If does not have a
 "en_us" will return nothing.[[BR]]
 [[BR]]
 If you do
 {{{
 $this->Post->locale = array("en_us");
 }}}
 you will try to find a Post with a "en_us" version, if does not have
 "en_us" will return only blank fields. It will make sure you will get a
 response back.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/5943#comment:5>
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